Posts: 6,129
Threads: 36
Joined: Jan 2009
06.05.2011, 16:12
(
Last edited by Calgon; 06/05/2011 at 08:38 PM.
)
Code:
SELECT * FROM `playerTable` WHERE `playerScore` > 0 ORDER BY `playerScore` DESC LIMIT 10
would be your query. I won't give you any more code since you haven't given us enough details (what plugin you're using, what fields you have, if you use threads, etc).
Posts: 4,510
Threads: 163
Joined: Mar 2008
Reputation:
0
Oh thanks Calg00ne, I wanted to remove the ones with 0 stats from the list! Now I know how.
Im using Strickenkid's plugin
SELECT * FROM `accounts` WHERE `Score` > 0 ORDER BY `Score` DESC LIMIT 10
Posts: 6,129
Threads: 36
Joined: Jan 2009
I can't help you if you're using that plugin then.
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by WackoX
Quary's are always the same, no matter what plugin you use.
|
I asked what plugin he was using and what fields he wanted, he never said the query might be different nor was it even implied.