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