Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 1.28 seconds.
Search: Posts Made By: tomharto
Forum: PHP 05-16-2013, 03:19 PM
Replies: 6
Views: 207
Posted By tomharto
You could use SSE for FF and Chrome etc, and use...

You could use SSE for FF and Chrome etc, and use AJAX in IE but recommend people use another browser? Apart from that the only thing I can think to suggest is use AJAX requests every few second for...
Forum: PHP 05-16-2013, 02:28 PM
Replies: 6
Views: 207
Posted By tomharto
I'm not sure, apart from like you say running...

I'm not sure, apart from like you say running AJAX, maybe just run it every minute or when a user goes to enter a bid?
Forum: PHP 05-16-2013, 02:08 PM
Replies: 1
Views: 93
Posted By tomharto
I don't know if this is the issue, but try...

I don't know if this is the issue, but try putting ' around the values, and ` around the fields

Also, wrap your code in PHP tags, makes it easier to read.

$SQLLABEL =" UPDATE `LABEL` SET...
Forum: PHP 05-16-2013, 12:21 PM
Replies: 6
Views: 207
Posted By tomharto
Server sent events might be an option you could...

Server sent events might be an option you could take.

http://www.html5rocks.com/en/tutorials/eventsource/basics/
Forum: PHP 05-14-2013, 10:35 AM
Replies: 5
Views: 166
Posted By tomharto
Ahh I did not know that :p. I'm also new to PDO...

Ahh I did not know that :p. I'm also new to PDO haha.
Forum: PHP 05-14-2013, 09:48 AM
Replies: 5
Views: 166
Posted By tomharto
This is what I use for row count and fetch data. ...

This is what I use for row count and fetch data.

Row count

$stmt->rowCount();

For fetch assoc

while ($row = $stmt2->fetch(PDO::FETCH_ASSOC)) {
echo $row['yourVar'];
Forum: PHP 05-07-2013, 02:12 PM
Replies: 6
Views: 236
Posted By tomharto
http://www.w3schools.com/php/php_forms.asp That...

http://www.w3schools.com/php/php_forms.asp That will give you the basics of building a PHP form
Forum: JavaScript programming 05-02-2013, 12:34 PM
Replies: 0
Views: 115
Posted By tomharto
HTML form using arrays and keys

I'm not sure if this is more HTML or Javascript so sorry if this should be in HTML.

I need to build a form with inputs named like

name[0][first]
name[0][second]
name[0][third]...
Forum: PHP 05-02-2013, 09:13 AM
Replies: 2
Views: 134
Posted By tomharto
You set the connection up as $links but in the...

You set the connection up as $links but in the query you reference $link, should those both be the same? Also I'd remove your DB details in your original post so other's don't know what they are.
...
Forum: PHP 04-24-2013, 01:15 PM
Replies: 2
Views: 137
Posted By tomharto
I knew there had a to be a better way, thanks :)

I knew there had a to be a better way, thanks :)
Forum: PHP 04-24-2013, 11:12 AM
Replies: 2
Views: 137
Posted By tomharto
How to compare these 2 arrays

I have 2 arrays

One is set up like


[First] => Hello
[Second] => World


And the second is set up like
Forum: General web building 04-24-2013, 10:49 AM
Replies: 2
Views: 792
Posted By tomharto
It could be, I resaved the faulty images in...

It could be, I resaved the faulty images in Photoshop using Save for web and devices and they seem to be working now.
Forum: General web building 04-24-2013, 10:07 AM
Replies: 2
Views: 792
Posted By tomharto
Some images not loading in IE8

I'm trying to debug some issues on IE8 with a site I'm doing.

Even though the images are on the server, works on chrome, firefox etc on IE8 when I try and load the image (either in the website or...
Forum: MySQL 04-23-2013, 11:54 AM
Replies: 2
Views: 301
Posted By tomharto
Do I need all the queries?

It seems to me that I have a lot of unnecessary queries but I might be wrong. What I have is

$stmt = $db->query("SELECT * FROM profile WHERE total_zombie_kills > 10 ORDER BY total_zombie_kills...
Forum: JavaScript frameworks 04-23-2013, 10:22 AM
Replies: 3
Views: 128
Posted By tomharto
Okay, I'll change it to class, thanks. I...

Okay, I'll change it to class, thanks.

I guess the :lt :gt are less than/greater than?
Forum: JavaScript frameworks 04-23-2013, 08:43 AM
Replies: 3
Views: 128
Posted By tomharto
How all elements with id above a number

I'm using a jQuery slider and I have a nubmer of elements with ID's like id1, id2, id3 etc.

when the slider value (set to increments of 1) is e.g 4 I need it to show elements id1,id2,id3,id4 and...
Forum: PHP 04-18-2013, 09:18 PM
Replies: 2
Views: 141
Posted By tomharto
Ahh okay, thanks :). The main reason I'm...

Ahh okay, thanks :).

The main reason I'm learning MVC is I'd like to get a job doing web development and anything I can put on my CV will be a bonus, and a few jobs I've looked at say knowledge of...
Forum: PHP 04-18-2013, 12:28 PM
Replies: 2
Views: 141
Posted By tomharto
Question about the basics of MVC

I'm going to start learning MVC using CakePHP and I'm trying to get a basic understanding before I jump in.

If I was building a simple page what displays a form, then on submit stores the data in...
Forum: Ajax and Design 04-16-2013, 06:55 PM
Replies: 3
Views: 306
Posted By tomharto
Get the responceText to return from AJAX

The alert from inside the function returns the response text but the call doesn't.

I imagine that's because the function returns before the ajax call has finished?

How can I get it to return...
Forum: JavaScript frameworks 04-16-2013, 03:45 PM
Replies: 1
Views: 185
Posted By tomharto
Not tested but try $('ul.gallery li').height();

Not tested but try $('ul.gallery li').height();
Forum: JavaScript programming 04-16-2013, 02:50 PM
Replies: 1
Views: 132
Posted By tomharto
Fading out an element

I'm trying to move away from using jQuery as much as I can. I'm making a simple function for fading out an element.

Here's what I have so far

function fadeObj(id, time)
{
obj =...
Forum: PHP 04-15-2013, 02:07 PM
Replies: 1
Views: 144
Posted By tomharto
Creating PDF's

I'm looking to make a simple imposing webpage for work.

The only functions it needs is to get the dimensions of aPDF file that will be uploaded, create a new PDF based on that size multiplied by a...
Forum: JavaScript programming 04-11-2013, 10:33 AM
Replies: 1
Views: 142
Posted By tomharto
chrome.storage.sync.get not getting the value

I'm messing around with a chrome extension and I'm trying to use chrome.storage.sync.set/get to store data so it's available on difference machines.

Here my function

function updateStorage(k,...
Forum: JavaScript frameworks 04-11-2013, 09:45 AM
Replies: 2
Views: 163
Posted By tomharto
Thank you :). My bad for not reading the docs...

Thank you :). My bad for not reading the docs fully, I though on worked the same as live used to.
Forum: JavaScript frameworks 04-11-2013, 08:47 AM
Replies: 2
Views: 163
Posted By tomharto
Problem with jQuery on('click')

If you look at the link below the list refreshes once, but then never repeats again when you click refresh list. I'm sure it's just a simple mistake i've made somewhere but I can't seem to get it...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 10:58 PM.