Adjust links and resolve issues with german umlauts.

This commit is contained in:
2023-12-28 15:23:55 +01:00
parent 679257d709
commit d7858e4286
25 changed files with 65 additions and 64 deletions

View File

@@ -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&auml;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>';
}
?>