T201704081230

This commit is contained in:
Leander
2017-04-06 12:30:27 +02:00
parent 58b9d9473d
commit 305fcbeb2c

View File

@@ -24,7 +24,7 @@ if($uid == '') {
} else if($db->query('SELECT EXISTS (SELECT 1 FROM "Users" WHERE "ID" = $1)', array($uid))
['data']['0']['exists'] == 'f') {
$error = 15102;
}
} else {
$score = $db->query('SELECT "highscore" FROM "Users" WHERE "ID" = $1', array($uid))['data'][0]['highscore'];
$all = $db->query('SELECT COUNT (*) FROM "Users"')['data']['0']['count'];
echo 'Score: '.$score;