Update
This commit is contained in:
@@ -8,13 +8,15 @@ $db = new Database();
|
||||
$question = $db->getQuestion($id);
|
||||
$sol = $question['solution'];
|
||||
|
||||
$qu = $question['question'];
|
||||
|
||||
|
||||
echo <<<END
|
||||
<h1>Frage bearbeiten</h1><form action="questions-update.php" method="post">
|
||||
<input type="hidden" name="id" value="$id">
|
||||
|
||||
<label for="question">Frage:</label> <br>
|
||||
<textarea name="question" id="question">"$question['question']"</textarea> <br><br>
|
||||
<textarea name="question" id="question">$qu</textarea> <br><br>
|
||||
<label for="answer0">Antwort 0:</label>
|
||||
<div class="form-box">
|
||||
END;
|
||||
|
Reference in New Issue
Block a user