2*3 = 6
This commit is contained in:
parent
caba7f15c8
commit
642491a9c0
@ -1,5 +1,5 @@
|
||||
<form action="/auftakt/" method="POST">
|
||||
<h1>Was ist 7·8</h1>
|
||||
<h1>Was ist 2·3</h1>
|
||||
<label>Deine Antwort:
|
||||
<input type="number" placeholder="nummer" name="number" required>
|
||||
</label>
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
if (isset($_POST['number'])) {
|
||||
$number = $_POST['number'];
|
||||
if ($number === '56') {
|
||||
if ($number === '6') {
|
||||
echo "richtig";
|
||||
} else {
|
||||
echo "falsch";
|
||||
|
Loading…
Reference in New Issue
Block a user