Fix
This commit is contained in:
1 parent
a85fb88c6a
commit
8172ede660
1 file changed
-1
@@ -12,7 +12,6 @@ if (isset($_GET['n'])) {
|
|||||||
}
|
}
|
||||||
$questions = $db->getQuestions($n);
|
$questions = $db->getQuestions($n);
|
||||||
|
|
||||||
$fullarray[] = [];
|
|
||||||
foreach($questions as $q) {
|
foreach($questions as $q) {
|
||||||
$answers = array($q['answer0'], $q['answer1'], $q['answer2']);
|
$answers = array($q['answer0'], $q['answer1'], $q['answer2']);
|
||||||
$jsonarray = array("id" => $q['id'], "answers" => $answers, "solution" => $q['solution']);
|
$jsonarray = array("id" => $q['id'], "answers" => $answers, "solution" => $q['solution']);
|
||||||
|
|||||||
Reference in new issue
Block a user