diff --git a/highscores.php b/highscores.php index f0ae79d..68f864a 100644 --- a/highscores.php +++ b/highscores.php @@ -24,6 +24,7 @@ if($uid == '') { $place_all = $db->query('SELECT COUNT (*) FROM "Users" WHERE "highscore" > $1', array($score_all))['data'][0]['count'] + 1; //get categories highscores $categories = $db->query('SELECT "ID", "name" from "Categories"')['data']; + print_r($categories); foreach($categories as $category) { $cid = $category['ID']; $cat = $category['name'];