webserver-m0/www/public/index.php
2023-08-23 08:56:08 +02:00

28 lines
614 B
PHP

<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WSP-1</title>
</head>
<body>
<h1>Matematik-test</h1>
<form action="evaluate.php" method="get">
<fieldset>
<legend>Frågor</legend>
<label>4 + 5 = </label>
<input type="text" name="q1">
<br>
<label>3 x 5 = </label>
<input type="text" name="q2">
<br>
<input type="submit" value="Rätta">
</fieldset>
</form>
<a href="evaluate.php?q1=9&q2=15">FUSK</a>
</body>
</html>