burr Posted January 17, 2007 Share Posted January 17, 2007 Yes, its basic and I've seen how before but hell, I'm new so..I am trying to find the rank of a specific result in order by points. $rank = 1;mysql_query("SELECT * FROM `game_points` ORDER BY `points` DESC");blah blahI need to find specifically the rank where game_points.team_id = $teamNot sure what else you would need, aside from I am terrible with arrays.Thanks for your help and patience! Link to comment https://forums.phpfreaks.com/topic/34490-finding-the-rank-of-a-recordset/ Share on other sites More sharing options...
fiat Posted January 18, 2007 Share Posted January 18, 2007 mysql_query("SELECT * FROM `game_points` WHERE `team_id` = '$team' ORDER BY `points` DESC"); Link to comment https://forums.phpfreaks.com/topic/34490-finding-the-rank-of-a-recordset/#findComment-163456 Share on other sites More sharing options...
burr Posted January 21, 2007 Author Share Posted January 21, 2007 I was really looking for a specific rank of a certain result, but I got. Thanks though :) Link to comment https://forums.phpfreaks.com/topic/34490-finding-the-rank-of-a-recordset/#findComment-165370 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.