Possible Duplicate:
Stack Overflow / reddit voting system in php
How do voting systems, like the one here at SO, work? I would like to implement a voting system on my web page (coded in php), but dont want to have to force the user to post a form to vote and update the database. I would like it so when a user clicks a thumbs up, on a comment as an example, the database would automatically update the "reputation" of that comment. Is there any way to accomplish this in php? What would you guys reccomend?