Im trying to figure out a script to use to use for a Score Ranking system for a game.
Someone who scores points in a game can post their score to the database and based on that score appear in a table that will display where he/she would be ranked.
I am having problems in displaying the "ranking" table
What i need to have it do is:
Put a Rank (ie 1-10) in one column (say via a listing function)
Put their name in the next column
Their score in the third column
and their comments in the fourth column
Something like this:
[Rank][Name][Score][Comment]
[ 1 ][Eric][98999][yeah! ]
[ 2 ][Sean][77745][almost!]
and so forth. I need to have the Rank # be auto-generated by the php script.
any ideas?
Someone who scores points in a game can post their score to the database and based on that score appear in a table that will display where he/she would be ranked.
I am having problems in displaying the "ranking" table
What i need to have it do is:
Put a Rank (ie 1-10) in one column (say via a listing function)
Put their name in the next column
Their score in the third column
and their comments in the fourth column
Something like this:
[Rank][Name][Score][Comment]
[ 1 ][Eric][98999][yeah! ]
[ 2 ][Sean][77745][almost!]
and so forth. I need to have the Rank # be auto-generated by the php script.
any ideas?