Update
This commit is contained in:
@@ -9,6 +9,7 @@ $question = $db->getQuestion($id);
|
|||||||
$sol = $question['solution'];
|
$sol = $question['solution'];
|
||||||
|
|
||||||
$qu = $question['question'];
|
$qu = $question['question'];
|
||||||
|
$an0 = $question['answer0'];
|
||||||
|
|
||||||
|
|
||||||
echo <<<END
|
echo <<<END
|
||||||
@@ -24,7 +25,7 @@ END;
|
|||||||
echo('<input class="form-solution" type="radio" name="solution" value="0" required' . (($sol == 0) ? "checked" : "") . ">");
|
echo('<input class="form-solution" type="radio" name="solution" value="0" required' . (($sol == 0) ? "checked" : "") . ">");
|
||||||
|
|
||||||
echo <<<END
|
echo <<<END
|
||||||
<input class="form-answer" type="text" name="answer0" id="answer0" required value=$question['answer0']>
|
<input class="form-answer" type="text" name="answer0" id="answer0" required value="$an0">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label for="answer1">Antwort 1:</label>
|
<label for="answer1">Antwort 1:</label>
|
||||||
|
Reference in New Issue
Block a user