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; ?>