diff --git a/start.php b/start.php index a342cbb..f6a3e1c 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"'); + $questions_count = $database->query('SELECT COUNT(*) FROM "Questions"'); echo pg_last_error(); echo $questions_count;