SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: how to get the row number?
-
Nov 16, 2000, 05:58 #1
- Join Date
- May 2000
- Location
- Bratislava, SLOVAKIA
- Posts
- 7
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hello everybody,
I`d like to ask you for help with the "PHP sort" function. I´m managing a database of hockey players and have created a table which can sort and order the players by their Name, games played, goals scored, assists, points, etc.
It would be great if you could tell me how to get the actual row number, everytime there is a new sort - I need this for the RANKING column.
Sorry for my english and thanx for your help.
Juraj Lovas
-
Nov 17, 2000, 09:43 #2
- Join Date
- May 2000
- Location
- Canada
- Posts
- 533
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
have an auto incrementing ID field in your database and get that number ?
Regards,
Vinay Sahni
SitePoint Community Moderator
myPHPhost.com: mySQL 3.23, php4.0.3pl1, optimizer
Bookmarks