2011-11-25, 12:28 AM
Hello!
I want to display a table with data from the database which will show for example User and Rank.
I use 'db->fetch_array' to display the username but for the rank I don't know how to make it to increase with every user in the table, example:
Username | Rank
usr | 1
usr2 | 2
usr3 | 3
etc.
Any idea?
I want to display a table with data from the database which will show for example User and Rank.
I use 'db->fetch_array' to display the username but for the rank I don't know how to make it to increase with every user in the table, example:
Username | Rank
usr | 1
usr2 | 2
usr3 | 3
etc.
Any idea?