At the risk of being a nuisance ( I asked a similar question yesterday but still could not get any closer to the solution).
In an sql database I have a table called 'Players' and two columns: 'Name' and 'Points'.
Suppose the values of the points are: 20000, 25000 and 30000.
Is there any way to assign a 'Rank' to those numbers with php.
So on my web page I would have something like this:
Name | Score | Rank |
Grant | 30000 | 1 |
Brett | 25000 | 2 |
Chris | 20000 | 3 |
The rank would need to be automaticallly generated depending on the scores of the players, and change accordingly when the scores change.