This commit is contained in:
2023-07-11 09:25:11 +02:00
parent f6fa541f7f
commit 939513adfd
2 changed files with 31 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ $bd = new MiBD();
$game = "";
if (isset($_GET['game'])) $game = $_GET['game'];
$query = "SELECT user, points FROM scores WHERE game LIKE '".$game."' ORDER BY points DESC LIMIT 10";
$query = "SELECT user, points FROM scores WHERE game LIKE '".$game."' ORDER BY points DESC";
$resultado = $bd->query($query);
$res = "";