T201704032316

This commit is contained in:
Leander
2017-04-03 23:16:59 +02:00
parent a476991c6d
commit 0590d34f89
2 changed files with 27 additions and 0 deletions

View File

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