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

View File

@@ -0,0 +1,19 @@
<?php
$sql = "INSERT INTO Admin (ID, Firma_ID, Vorname, Nachname, User, Password, Telefon, Mobil, Email) VALUES
(NULL,
'".$new_id."',
'".$_POST['Vorname']."',
'".$_POST['Nachname']."',
'".$_POST['User']."',
'".md5($_POST['Passwort'])."',
'".$_POST['Telefon']."',
'".$_POST['Mobil']."',
'".$_POST['Email']."');";
$stmt = $db->prepare($sql);
if (!$stmt) {
die('Benutzer konnte nicht angelegt werden: '.$db->error);
}
if (!$stmt->execute()) {
die('Benutzer konnte nicht angelegt werden: '.$stmt->error);
}
?>