random quetion
This commit is contained in:
@@ -15,8 +15,8 @@ class WrenchResources extends BaseController
|
|||||||
$in = json_decode($raw_json, true);
|
$in = json_decode($raw_json, true);
|
||||||
|
|
||||||
$next_question = [
|
$next_question = [
|
||||||
"question" => 'This is the question',
|
"question" => 'This is the question - '. rand(1000,9999),
|
||||||
"option" => ['aaaaaaa', 'bbbbbbbbb', 'cccccccc'],
|
"option" => ['aaaaaaa '. rand(1000,9999), 'bbbbbbbbb '. rand(1000,9999), 'cccccccc '. rand(1000,9999)],
|
||||||
"answer" => 'bbbbbb',
|
"answer" => 'bbbbbb',
|
||||||
"last" => false,
|
"last" => false,
|
||||||
"points" => 10
|
"points" => 10
|
||||||
|
|||||||
Reference in New Issue
Block a user