Whats Wrong with this
#2

Your query is wrong

SELECT user, Score FROM `players` ORDER BY `Score` DESC LIMIT 5


also you have 5 Ranks, but at top[] it goes to 6

printf("Rank 1: %s, Rank 2: %s, Rank 3: %s, Rank 4: %s, Rank 5: %s", top[0], top[1], top[2], top[3], top[4], top[5]);
Reply


Messages In This Thread
Whats Wrong with this - by Mriss - 06.04.2014, 09:33
Re: Whats Wrong with this - by ikey07 - 06.04.2014, 09:38
Re: Whats Wrong with this - by Mriss - 06.04.2014, 09:38

Forum Jump:


Users browsing this thread: 3 Guest(s)