T201704211021

This commit is contained in:
Leander
2017-04-21 10:21:20 +02:00
parent ef39bec934
commit 41253c458e

View File

@@ -34,7 +34,7 @@ if($cid == -1) {
(SELECT "Users_ID", "score"
FROM "Highscores"
WHERE "Categories_ID" = $1) h ON u."ID" = h."Users_ID"
ORDER BY "c_score", u."name"
ORDER BY "c_score" DESC, u."name" ASC
LIMIT $2 OFFSET $3
', array($cid, $limit, $offset))['data'];
print_r($overview);