hi,
I am currently making a website and was wondering how to make it so that when
a button is clicked it will update a field in the database by +1. This is sort of a
'like' system for photos so someone can view a photo and then press this button to like it
and this will add 1 like to the 'like' field for that photo in the table.
Examples of this are the 'hype' system on http://lookbook.nu/
and the "good lad" and "shit lad" system on http://truelad.com
I need this 'like' system to create a page that can display the most popular photos and I was planning
on doing this through showing the 10 or so images with the highest amounts of likes in the database.
Any help will be greatly appreciated,
thanks.