28.06.2016, 14:06
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.
Another thing is to avoid declaring variables inside loops.