webserver-m0/www/public/index.php

28 lines
614 B
PHP
Raw Normal View History

2023-08-21 11:14:36 +00:00
<!DOCTYPE html>
<html lang="sv">
2023-08-23 06:56:08 +00:00
2023-08-21 11:14:36 +00:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WSP-1</title>
</head>
<body>
2023-08-23 06:56:08 +00:00
<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>
2023-08-21 11:14:36 +00:00
2023-08-23 06:56:08 +00:00
<a href="evaluate.php?q1=9&q2=15">FUSK</a>
2023-08-21 11:14:36 +00:00
</body>
2023-08-23 06:56:08 +00:00
2023-08-21 11:14:36 +00:00
</html>