2
0

change directorys for KA2 in LBT3

This commit is contained in:
2026-05-20 13:33:22 +02:00
parent ad8114a31b
commit 810a541924
6 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neuer Kunde</title>
</head>
<body>
<h1>DANIEL CWIKLA</h1>
<form>
<label>Kundennummer: <input name="kdnr" type="number"></label><br>
<label>Nachname: <input name="nachname" type="text"></label><br>
<label>E-Mail: <input name="email" type="email"></label><br>
<button type="submit">Anlegen</button>
</form>
</body>
</html>
<?php
// DANIEL CWIKLA
require_once 'funktionen.php';
require_once 'db_connect.php';
if(!empty($_REQUEST)){
$dbh = db_connect();
echo kundeEinfuegen($dbh, $_REQUEST['kdnr'], $_REQUEST['nachname'], $_REQUEST['email']);
}
?>