Making Simple Voting System .. (not so simple for me!)
Posted: Wed Dec 06, 2006 4:02 pm
Hello,
I just need a quick tip on how to store numbers in a database, but everytime someone submits a forum. It counts up one.
I am creating a voting system and my database outputs all the items in the vote... with a forum so when the person voting clicks the vote button, it will add +1 to the number of votes in the database...
I should be OK after I figure this out... Another quick question I have is.. I want to store all the voters IP address' in a database so they cannot vote more than one time.. I am not sure what to store it in.. like a row for each one or...?
I know you are going to say get a pre-scripted code but I cant becasue It will be easier the way I want to do it.
Thanks Alot!!
I just need a quick tip on how to store numbers in a database, but everytime someone submits a forum. It counts up one.
I am creating a voting system and my database outputs all the items in the vote... with a forum so when the person voting clicks the vote button, it will add +1 to the number of votes in the database...
I should be OK after I figure this out... Another quick question I have is.. I want to store all the voters IP address' in a database so they cannot vote more than one time.. I am not sure what to store it in.. like a row for each one or...?
I know you are going to say get a pre-scripted code but I cant becasue It will be easier the way I want to do it.
Thanks Alot!!