T201704101021

This commit is contained in:
Leander
2017-04-10 10:21:18 +02:00
parent 9bc7239e19
commit 74116729fc

View File

@@ -30,7 +30,7 @@ if($uid == '') {
array($uid, $cid))['data'][0]['score'];
$place = $db->query(
'SELECT COUNT (*) FROM "Highscores"
WHERE "Users_ID" = $1 AND "Categories_ID" = $2 AND "score" > $3',
WHERE "Categories_ID" = $2 AND "score" > $3',
array($uid, $cid, $score))['data'][0]['count'] + 1;
print_r(pg_last_error());
print_r(array('score', $score, 'place', $place));