From b2a6974287612132f4edb98c87af02a0d90990a5 Mon Sep 17 00:00:00 2001 From: Leander Date: Mon, 27 Mar 2017 14:44:13 +0200 Subject: [PATCH] T1703271444 --- start.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/start.php b/start.php index 45685ab..7413a69 100644 --- a/start.php +++ b/start.php @@ -6,10 +6,12 @@ * Time: 14:07 */ + include_once includes.inc.php; + $uid = $_GET['uid']; $length = ($_GET['length'] && gettype(+$_GET['length']) == 'integer') ? +$_GET['length'] : 10; - echo gettype($length); - echo $length; + $questions_count = Database::query('SELECT COUNT(*) FROM "QUESTIONS"'); + echo $questions_count; ?>