Ordering list of names in descending order according to their score
#4

pawn Код:
mysql_query("SELECT `AccountName` FROM `users` ORDER BY `Score` DESC LIMIT 5");
mysql_store_result();

while(mysql_retrieve_row())
{
    mysql_fetch_row(result);
    print(result);
}

mysql_free_result();
I haven't used MySQL R6 in a long time but this should work.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)