28.06.2016, 14:08
Quote:
Something important to remember is that all you want to select is the player's name and the score so you don't need all (*) the data in the query.
Another thing is to avoid declaring variables inside loops. |
PHP код:
SELECT * FROM `users` ORDER BY `Score` DESC LIMIT 10