In this tutorial you will learn how to create your own Highscores for your games, using your own free server / database. Let's go! Here's an example of how the...
(Continued...)
Changes in getrank.php:
1)
$sql = "SELECT COUNT(*) AS rank FROM scores WHERE score > " . $_GET['score'] . " GROUP BY name";
2)
In the while loop remove the "echo part". Outside of the loop, print i:
echo ($i + 1);