From 874a0abf2289c7f69727c908272f9eff0df28fb2 Mon Sep 17 00:00:00 2001 From: Leander Date: Mon, 27 Mar 2017 15:05:22 +0200 Subject: [PATCH] T1703271505 --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.php b/start.php index b996f9b..08052bf 100644 --- a/start.php +++ b/start.php @@ -11,7 +11,7 @@ $length = ($_GET['length'] && gettype(+$_GET['length']) == 'integer') ? +$_GET['length'] : 10; $database = new Database(); - $questions_count = $database->query('SELECT COUNT(*) FROM "Questions"')['data']['count']; + $questions_count = $database->query('SELECT COUNT(*) FROM "Questions"')['data']; var_dump($questions_count); print_r($questions_count);