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. Quote Link to comment 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" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.