aufgabe von 24-10-2 NICHT FERTIG
This commit is contained in:
18
progp/24-10-2/ausgabe.php
Normal file
18
progp/24-10-2/ausgabe.php
Normal 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>
|
||||||
22
progp/24-10-2/eingabe.html
Normal file
22
progp/24-10-2/eingabe.html
Normal 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>
|
||||||
Reference in New Issue
Block a user