Show sourcecode
The following files exists in this folder. Click to view.
index.php
ovn_fm1.php
ovn_fm2.php
ovn_fm3.php
ovn_fm4+5.php
tillagg3.php
tillagg4.php
ovn_fm3.php
41 lines UTF-8 Windows (CRLF)
<?php
error_reporting(-1); // Report all type of errors
ini_set('display_errors', 1); // Display all errors
ini_set('output_buffering', 0); // Do not buffer outputs, write directly
?>
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Formulär</title>
</head>
<body>
<form method="POST" action="tillagg3.php">
<input type="text" name="fnamn" id="fnamn_id" placeholder="Skriv namn här" required>
<label for="namn_id">Förnamn</label><br>
<input type="text" name="enamn" id="enamn_id" placeholder="Skriv namn här" required>
<label for="namn_id">Efternamn</label><br>
<input type="text" name="skola" id="skola_id" placeholder="Schoolie mc'Schoolface" required>
<label for="namn_id">Skola</label><br>
<select name="mat[]" required multiple="multiple">
<option>Korvstroganof</option>
<option>Köttbullar</option>
<option>Korv med bröd</option>
<option>Bröd med korv</option>
<option>Wok</option>
<option>Pepparchips ditt äckel</option>
<option>Korv utan stroganof</option>
</select>
<button type="submit">Skicka in</button>
</form>
</body>
</html>