This commit is contained in:
lziemke 2024-10-12 12:07:41 +02:00
parent caba7f15c8
commit 642491a9c0

@ -1,5 +1,5 @@
<form action="/auftakt/" method="POST"> <form action="/auftakt/" method="POST">
<h1>Was ist 7·8</h1> <h1>Was ist 2·3</h1>
<label>Deine Antwort: <label>Deine Antwort:
<input type="number" placeholder="nummer" name="number" required> <input type="number" placeholder="nummer" name="number" required>
</label> </label>
@ -9,7 +9,7 @@
if (isset($_POST['number'])) { if (isset($_POST['number'])) {
$number = $_POST['number']; $number = $_POST['number'];
if ($number === '56') { if ($number === '6') {
echo "richtig"; echo "richtig";
} else { } else {
echo "falsch"; echo "falsch";