Jump to content

Ajax Poll Tutorial????


jwwceo

Recommended Posts

I am looking for some AJAX polling to add to this page [url=http://www.liquidcotton.com]www.liquidcotton.com[/url]. Users must be able to vote without a page refresh similar to this page...  [url=http://www.urbandictionary.com/define.php?term=R+%26+B]http://www.urbandictionary.com/define.php?term=R+%26+B[/url] where you can vote a simple thumbs up, thumbs down.

I have found a few scripts where you can create polls, but I am needing one poll for every item, so I'm not sure if that would really work.

I am thinking a way to do this would be to add a field to each t-shirt for a thumbs up vote and one for thumbs down vote. Then have a a table for each vote that correlates IP addresses and shirt_id's, so somebody could only vote on each shirt once. ???????

I really don't have much clue how to do this stuff...the above is just an idea.. if anybody can point to a good book, tutorial, or even some tips on how to write this logically I would totally appreciate it...
Link to comment
https://forums.phpfreaks.com/topic/19795-ajax-poll-tutorial/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.