help!

Brad

Well-Known Member
Jun 5, 2012
2,320
993
how would i get this to show users below Rank 3 ?

Code:
$getTopStats = mysql_query("SELECT * FROM users WHERE rank = '1' ORDER BY activity_points DESC LIMIT 10");
 

Ecko

23:37 [autobots] -!- eckostylez [[email protected]]
Nov 25, 2012
1,398
962
how would i get this to show users below Rank 3 ?

Code:
$getTopStats = mysql_query("SELECT * FROM users WHERE rank = '1' ORDER BY activity_points DESC LIMIT 10");


PHP:
$getTopStats = mysql_query("SELECT * FROM users WHERE rank < '3' ORDER BY activity_points DESC LIMIT 10");

...
 

Users who are viewing this thread

Top