php help :<
#2

You can create something by your description by using the ORDER BY SQL syntax. Here's an example of how it's used if you don't understand the given link.

PHP код:
$order_query mysql_query"SELECT * FROM `accounts` ORDER BY `kills` LIMIT 5" );
while(
$order_fetch mysql_fetch_assoc$order_query ) )
       echo( 
$order_fetch['username'] . ":" $order_fetch['kills'] . " kills. <br />" ) ; 
Reply


Messages In This Thread
php help :< - by swieberdevos - 11.06.2011, 23:24
Re: php help :< - by Cyanide - 12.06.2011, 01:12
Re: php help :< - by [L3th4l] - 12.06.2011, 01:39
Re: php help :< - by Cyanide - 12.06.2011, 01:40

Forum Jump:


Users browsing this thread: 1 Guest(s)