View Single Post
Old 02-18-2005, 08:21 PM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
when you say "top 10" .. what are you using as the element of measurement? is it number of posts? the above example is for random 10, .. the one below would be for top 10 if the field you are basing this on is number of posts.
PHP Code:
<?
$result 
mysql_query("select * from members order by posts desc limit 10");
?>
__________________
Mike
sde is offline   Reply With Quote