This commit is contained in:
2021-06-21 10:47:16 +02:00
parent 711dc85afe
commit ad03e96031
9 changed files with 265 additions and 3 deletions
+34
View File
@@ -0,0 +1,34 @@
<?php
include '../head.php';
include '../connect.php';
$vorname = $_POST['Name'];
$query="
INSERT INTO
mitarbeiter
(`Vorname`)
VALUES
(?)";
$stmt=$sql->prepare($query);
$stmt->bind_param("s",$vorname);
if ($stmt->execute()){
echo '<h1>Mitarbeiter Erstellt</h1>';
} else{
echo '<h1>Fehler bei Speicherung</h1>';
echo $stmt->error;
}
?>
<?php
include '../tail.php';
?>