random quetion
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user