Page 1 of 1

Voting Poll - Allow One vote only

Posted: Wed Aug 25, 2004 1:06 pm
by buddok
hey ppl Ive made my poll and it works fine an all but i wanted to no if anyone could help me, i want ti so the user can only vote once anyone no how to do this in a very simepl way if possiable ? thanks ...

Posted: Wed Aug 25, 2004 1:10 pm
by feyd
votes table:

poll_id
user_id

if their user_id is in the table under that poll, they voted :D

Posted: Wed Aug 25, 2004 1:37 pm
by buddok
ok i didnt get how to do that though ? :S ?

Posted: Wed Aug 25, 2004 1:54 pm
by feyd
all votes get stored in that table.. you could store the poll choice data too in there, if you want to be able to track that data.