T201704032318
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
}
|
}
|
||||||
// Create new game for user.
|
// Create new game for user.
|
||||||
$db->query('INSERT INTO "Games" ("ID") VALUES ($1)', array($uid));
|
$db->query('INSERT INTO "Games" ("ID") VALUES ($1)', array($uid));
|
||||||
print_v(pg_last_error());
|
print_r(pg_last_error());
|
||||||
// Find questions for new game and insert into table.
|
// Find questions for new game and insert into table.
|
||||||
$questions = random_numbers(0, $questions_count-1, $length);
|
$questions = random_numbers(0, $questions_count-1, $length);
|
||||||
foreach($questions as $question) {
|
foreach($questions as $question) {
|
||||||
|
|||||||
Reference in New Issue
Block a user