954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

voting system

Hello!
i would like to ask some codes in voting system using php, can select and determine the winner.

Thank you...

jenberden
Newbie Poster
4 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

Is this like a POLL?
Check this link http://www.codeproject.com/KB/HTML/phpoll.aspx
Try to build some logic and start working on coding part.

vibhaJ
Posting Shark
931 posts since Apr 2010
Reputation Points: 161
Solved Threads: 183
 

If you want to DIY.
Determine the DB structure req'd first
E.g. Can an user vote more than once? If not how do you prevent this?
Can polls have a number of options as opposed to just 2?

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

I try your suggestion sir but i don't know how to use the xml.doc.

jenberden
Newbie Poster
4 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

Open results.xml from the source zip file and change the question and answers. Do not forget to reset the votes to 0.

pritaeas
Posting Expert
Moderator
5,480 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: