Datenstand V1.0

This commit is contained in:
2016-07-05 20:38:34 +00:00
parent 5a75f609e5
commit 5ea463a308
1027 changed files with 141480 additions and 0 deletions

16
inhalte/texte_save.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
$sql = "UPDATE ".PREFIX."_Texte SET
Text1 = \"".addslashes($_POST['Text1'])."\",
Text2 = \"".addslashes($_POST['Text2'])."\",
Betreff = \"".addslashes($_POST['Betreff'])."\",
EMail = \"".addslashes($_POST['EMail'])."\"
WHERE ID = \"".$_POST['ID']."\";";
$stmt = $db->prepare($sql);
if (!$stmt) {
die ('Datensatz konnte nicht gespeichert werden: '.$db->error);
}
if (!$stmt->execute()) {
die ('Datensatz konnte nicht gespeichert werden: '.$stmt->error);
}
include "inhalte/texte_edit.php";
?>