Voll Upload SGD Fachinformatiker PHP

This commit is contained in:
2026-06-03 13:46:32 +00:00
parent 1256ec2190
commit 84a568d89c
265 changed files with 9961 additions and 2 deletions
+40
View File
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>e3_artikel_löschen</title>
<?php
require_once("bestellen.class.php")
?>
</head>
<body>
<h1>Artikel Löschen</h1>
<div class="ausgabe">
<?php
$bestell = new Bestell();
// Prüfen ob Formular abgeschickt wurde
if($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['anr'])) {
$anr = $_POST['anr'];
$bestell->loeschen($anr);
}
?>
<!-- Formularfelder erstellen -->
<form method="post">
<label for="anr">Artikel: </label>
<?php echo $bestell->einfuegenSelect("artikel", "anr" ,"name", "anr"); ?>
<input type="submit" value="auswahl">
</form>
<?php
?>
</div>
</body>
</html>