mike1313 Posted March 19, 2007 Share Posted March 19, 2007 I've written a ranking system, it finds the user in the db sorts their sort highest to lowest then displays it on the page as such. 1. John 3400 points 2. Sue 2600 points 3. Joe 1200 points How could I make it so for 1 is says 1st instead of 1 all the way to lets say 1000 or unlimited? 2nd 3rd 4th etc. Link to comment https://forums.phpfreaks.com/topic/43394-ranking-system/ Share on other sites More sharing options...
bwochinski Posted March 19, 2007 Share Posted March 19, 2007 You can find functions to do that for you by searching for "php ordinal suffix" Link to comment https://forums.phpfreaks.com/topic/43394-ranking-system/#findComment-210745 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.