jQuery Poll tutorial - cool if it worked

Hi,

I would like to use this poll, but it doesn’t really work. It seems to in the demo, but the count doesn’t work right and is stuck at 53. I messed around a little and have no luck. I don’t know if it’s the calls for the jQuery or just bad PHP.

The demo is here: http://net.tutsplus.com/javascript-ajax/creating-a-dynamic-poll-with-jquery-and-php/

My attempt is here: http://ehydrant.com/indexpoll.html

If anyone has any thoughts, me and about 50 people at the original tut would really appreciate it.

BTW - it sets the IP to a cookie with cookie.jQuery, so after one try, it has to be cleared.

Thanks guys.

The php request is http://ehydrant.com/poll.php?vote=1

The response from poll.php is an empty array.

[]

I suggest you take this to the php forum.

will do - thanks