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