Adjust links and resolve issues with german umlauts.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<h3>neuen G<EFBFBD>stebucheintrag anlegen</h3>
|
||||
<h3>neuen Gästebucheintrag anlegen</h3>
|
||||
|
||||
<?php
|
||||
if (!isset($_POST['Speichern'])) {
|
||||
?>
|
||||
|
||||
<form action="index.php?section=gb" method="post" enctype="multipart/form-data">
|
||||
<label>Foto auswählen</label>
|
||||
<label>Foto auswählen</label>
|
||||
<input type="hidden" name="new" value="speichern"/>
|
||||
<input type="file" name="Foto"/>
|
||||
<br/>
|
||||
@@ -33,7 +33,7 @@ if (!isset($_POST['Speichern'])) {
|
||||
die ('Es konnte kein SQL-Query vorbereitet werden: ' . $db->error);
|
||||
}
|
||||
if (!$stmt1->execute()) {
|
||||
die ('Query konnte nicht ausgef<EFBFBD>hrt werden: ' . $stmt1->error);
|
||||
die ('Query konnte nicht ausgeführt werden: ' . $stmt1->error);
|
||||
}
|
||||
|
||||
$sql2 = 'SELECT last_insert_id()';
|
||||
@@ -61,6 +61,6 @@ if (!isset($_POST['Speichern'])) {
|
||||
imagedestroy($tmp);
|
||||
unlink($uploaddir . $_FILES['Foto']['name']);
|
||||
}
|
||||
echo '<a href="index.php?section=gb">Zur<EFBFBD>ck zur <EFBFBD>bersicht</a>';
|
||||
echo '<a href="index.php?section=gb">Zurück zur Übersicht</a>';
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user