From fa650e3a2abe19dec860cfc6976f9732dd620125 Mon Sep 17 00:00:00 2001 From: Leander Date: Mon, 27 Mar 2017 14:51:10 +0200 Subject: [PATCH] T1703271450 --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;