Update
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<body>
|
||||
<form action="walthorz.php" method="POST">
|
||||
<label for="zahl">Gebe deine Lieblingszahl ein</label>
|
||||
<input type="number" id="zahl" value="zahl"></input>
|
||||
<input type="number" id="zahl" name="zahl"></input>
|
||||
<input type="submit">Let's go!</input>
|
||||
</form>
|
||||
</body>
|
||||
|
@@ -1,12 +1,11 @@
|
||||
<?php
|
||||
|
||||
$val = $_REQUEST['zahl'];
|
||||
echo($val);
|
||||
|
||||
if ($val == "420") {
|
||||
//header("Location: waltermode2.html");
|
||||
header("Location: waltermode2.html");
|
||||
} else {
|
||||
//header("Location: waltermode.html");
|
||||
header("Location: waltermode.html");
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user