aufgabe von 24-10-2 NICHT FERTIG

This commit is contained in:
danielvici123
2024-10-02 10:38:12 +02:00
parent 65dbd05a00
commit 3fc3d02fe6
2 changed files with 40 additions and 0 deletions

18
progp/24-10-2/ausgabe.php Normal file
View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Daten Ausgabe</h1>
<?php
// Variablen
$vorname= $_REQUEST['vorname'];
echo "Moin ".$vorname."! Du GEILE sau. <br>";
?>
</php>
</body>
</html>

View File

@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Eingabe-formular</title>
</head>
<body>
<h1>Eingabe-Formular</h1>
<form action="ausgabe.php">
<label for="usr_vn">Vorname:</label>
<input type="text" id="usr_vn" name="vorname" required><br><br>
<label for="usr_nn">Nachname:</label>
<input type="text" id="usr_nn" name="nachname" required><br><br>
<button>Ab damit!</button>
</form>
</body>
</html>