doit
This commit is contained in:
1 parent
4dfd0737cd
commit
7b31a444b8
1 file changed
+5
-2
+5
-2
@@ -130,9 +130,13 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){
|
||||
$row = mysqli_fetch_array($result, MYSQLI_ASSOC);
|
||||
|
||||
// Retrieve individual field value
|
||||
$name = $row["name"];
|
||||
$vokabel = $row["vokabel"];
|
||||
$stammform = $row["stammform"];
|
||||
$art = $row["art"];
|
||||
$flexion = $row["flexion"];
|
||||
$uebersetzung = $row["uebersetzung"];
|
||||
$lektion = $row["lektion"];
|
||||
$kommentar = $row["kommentar"];
|
||||
} else{
|
||||
// URL doesn't contain valid id. Redirect to error page
|
||||
header("location: error.php");
|
||||
@@ -193,7 +197,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){
|
||||
<input type="text" name="art" class="form-control <?php echo (!empty($art_err)) ? 'is-invalid' : ''; ?>" value="<?php echo $art; ?>">
|
||||
<span class="invalid-feedback"><?php echo $art_err;?></span>
|
||||
</div>
|
||||
$vokabel = $stammform = $art = $flexion = $uebersetzung = $lektion =$kommentar = "";
|
||||
|
||||
<div class="form-group">
|
||||
<label>lexion</label>
|
||||
|
||||
Reference in new issue
Block a user