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) {