diff --git a/highscores.php b/highscores.php index 735d2a9..2bf294f 100644 --- a/highscores.php +++ b/highscores.php @@ -11,6 +11,11 @@ $data = ''; $error = 0; $uid = isset($_GET['uid']) ? $_GET['uid'] : ''; +$categories[] = array('id' => 1, 'name' => "BWL", 'score' => 321, 'place' => 123); +$categories[] = array('id' => 2, 'name' => "Mathematik", 'score' => 1454, 'place' => 1); +$info = array('score' => 3253, 'place' => 122, 'all' => 321, 'categories' => $categories); +$response = Database::create_response($info, $error); +print_r($response); ?> \ No newline at end of file