Jump to content


Ajax Poll Tutorial????

  • Please log in to reply
1 reply to this topic

#1 jwwceo

  • Members
  • PipPipPip
  • Advanced Member
  • 212 posts

Posted 05 September 2006 - 06:25 PM

I am looking for some AJAX polling to add to this page www.liquidcotton.com. Users must be able to vote without a page refresh similar to this page...  http://www.urbandict....php?term=R & B 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...

#2 Hokus

  • Members
  • PipPip
  • Member
  • 23 posts
  • LocationAlameda, CA, USA

Posted 10 September 2006 - 09:01 PM

[!--sizeo:2--][span style="font-size:10pt;line-height:100%"][!--/sizeo--][!--fonto:Arial--][span style="font-family:Arial"][!--/fonto--][!--coloro:blue--][span style="color:blue"][!--/coloro--]"Experience is a wonderful thing. It enables you to recognize a mistake when you make it again".

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users