random quetion

This commit is contained in:
CHIEFSOFT\ameye
2024-08-18 22:09:42 -04:00
parent f56ff97e03
commit 90ff12c547
+2 -2
View File
@@ -15,8 +15,8 @@ class WrenchResources extends BaseController
$in = json_decode($raw_json, true);
$next_question = [
"question" => 'This is the question',
"option" => ['aaaaaaa', 'bbbbbbbbb', 'cccccccc'],
"question" => 'This is the question - '. rand(1000,9999),
"option" => ['aaaaaaa '. rand(1000,9999), 'bbbbbbbbb '. rand(1000,9999), 'cccccccc '. rand(1000,9999)],
"answer" => 'bbbbbb',
"last" => false,
"points" => 10