From 0590d34f89b5a5b2722fb6a050e63c4e577cb9b6 Mon Sep 17 00:00:00 2001 From: Leander Date: Mon, 3 Apr 2017 23:16:59 +0200 Subject: [PATCH] T201704032316 --- answer.php | 26 ++++++++++++++++++++++++++ start.php | 1 + 2 files changed, 27 insertions(+) create mode 100644 answer.php diff --git a/answer.php b/answer.php new file mode 100644 index 0000000..a70fb14 --- /dev/null +++ b/answer.php @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/start.php b/start.php index 4d338d1..596ad73 100644 --- a/start.php +++ b/start.php @@ -37,6 +37,7 @@ } // Create new game for user. $db->query('INSERT INTO "Games" ("ID") VALUES ($1)', array($uid)); + print_v(pg_last_error()); // Find questions for new game and insert into table. $questions = random_numbers(0, $questions_count-1, $length); foreach($questions as $question) {