i want a ranking system (X) maybe similar to the google page rank:
user can become a fan of another user.
User | FanOfUser
a | b
the more fans a user has, the higher is his (X)-ranking.
fans who have a higher ranking count more than fans with a lower ranking
now i want a php snipped, where i can show the ranking (x) for a choosen user..