besly98 Posted July 1, 2009 Share Posted July 1, 2009 Hi all, I was wondering if someone can help me. I ha ve a league table that i want to numbe rth epositions.. eg 1,2,3,4,5 to show where people ar ein the league. i cant find anything that will help me do this. does anyone know? thanks Link to comment https://forums.phpfreaks.com/topic/164349-php-count/ Share on other sites More sharing options...
trq Posted July 1, 2009 Share Posted July 1, 2009 Can we at least get an idea of what your table looks like? Link to comment https://forums.phpfreaks.com/topic/164349-php-count/#findComment-866968 Share on other sites More sharing options...
runnerjp Posted July 1, 2009 Share Posted July 1, 2009 all depends on how you add up the scores or what ever you determin the place in the league... something like Select * from leaguetable ORDER BY 'position' Link to comment https://forums.phpfreaks.com/topic/164349-php-count/#findComment-866976 Share on other sites More sharing options...
besly98 Posted July 1, 2009 Author Share Posted July 1, 2009 it will be ordered by points which are saved in that database. so like the highest points will be at the top.. etc. just basicaly like a football league table. does that explain? Link to comment https://forums.phpfreaks.com/topic/164349-php-count/#findComment-867019 Share on other sites More sharing options...
runnerjp Posted July 1, 2009 Share Posted July 1, 2009 yer so what ever the table is order by it within the aql statement as shown above Link to comment https://forums.phpfreaks.com/topic/164349-php-count/#findComment-867022 Share on other sites More sharing options...
trq Posted July 1, 2009 Share Posted July 1, 2009 Yeah that explains. Now, runnerjp's example should help you. Link to comment https://forums.phpfreaks.com/topic/164349-php-count/#findComment-867023 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.