SA-MP Forums Archive
MySQL R33 Help ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL R33 Help ? (/showthread.php?tid=489373)



MySQL R33 Help ? - Vege - 22.01.2014

So, I wanted to make a statistics table of the top players at my server.
My script is written with BlueG's MySQL include R33 and I have no idea how to make a Top Players list.
How will I get the highest values in all the rows in a single table ?
Can Someone help ?


Re: MySQL R33 Help ? - WopsS - 22.01.2014

That you need.

Код:
mysql_query("SELECT `level` FROM `players` ORDER BY `level` ASC")



Re: MySQL R33 Help ? - Scottas - 22.01.2014

http://www.w3schools.com/sql/sql_orderby.asp