Hi aconeinc,
this sort of question is not gonna get you a lot of help; Dale gave you an answer which is the best we can do at the moment. We have no clue as to how experienced you are. I would say, the basics for this sort of thing is written in ~20 minutes of coding, if you know what you are doing. Probably a day or so if you are just getting started.
In any case./
- You need to create a table / file to store the rankings
- Whenever a user votes, you UPDATE the ranking to ranking+1
- Your need to SORT BY ranking DESCENDING
- You finally need to be able to SELECT from TABLE where id = $someselectedid
Look at the select statement in the Mysql manual (www.mysql.org), the FAQ thread in newbies, the SORT BY flag for the select statement. And when you get stuck, let us know where.