Jump to content

Rank/Voting System


rynoa164

Recommended Posts

Hi everyone!

 

I'm brand-new to PHP and I am making a site where people can rate people's answers to questions. So far I've gotten the front page to randomly generate questions for users to answer, then the answers go into a database. All of the answers to one question at a time is displayed. Next to each answer I would like a thumbs up/down graphic. Upon clicking either, I want a +1 or -1 value to be added to their rank. In my MySQL table, the table is called "answer" and the row (?) is called "a_rank". I have no idea how to go about programming this but I have a feeling it's relatively easy. Any help would be much appreciated! Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/102634-rankvoting-system/
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.