PHP - Display Players Actual Postion In Rankings Ladder e.g 1, 2, 5 etc

Associate
Joined
19 Mar 2005
Posts
569
I am making a squash ranking website and I would like to find out peoples position in the rankings i.e 1, 4, 10 etc. I currently have a table (playerRankings) which contains playerRankingsID, pRankingsScore, pPrevRankingScore. In pRankingsScore is the players points score and I have a query that sorts by this field name so the person with the most points is top of the league.

How would I go about implementing this, any help would be greatly appreciated.

Many Thanks

Leon
 
Last edited:
Back
Top Bottom