jwwceo Posted September 5, 2006 Share Posted September 5, 2006 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 More sharing options...
Hokus Posted September 10, 2006 Share Posted September 10, 2006 http://developer.mozilla.org/en/docs/AJAX:Getting_Started Link to comment https://forums.phpfreaks.com/topic/19795-ajax-poll-tutorial/#findComment-89521 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.