Files
2021-06-21 10:47:16 +02:00

35 lines
399 B
PHP

<?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';
?>