Webbserverprogrammering 1

Show sourcecode

The following files exists in this folder. Click to view.

webb_serv/exercises/formular/

ovning1-start.php
ovning1.php
ovning2.php
ovning3-mal.php
ovning3.php
ovning4-mal.php
ovning4.php

ovning3.php

27 lines UTF-8 Windows (CRLF)
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>formulär_ovning3</title>
</head>
<body>
    <form action="ovning3-mal.php" method="post">
        <label for="fnamn">Förnamn: </label>
        <input type="text" name="fnamn" require><br>
        <label for="lnamn">Efternamn: </label>
        <input type="text" name="lnamn" require><br>
        <label for="klass">Klass: </label>
        <input type="text" name="klass" require><br><br>

        <label for="fmat">Favorit mat:</label> <br>
        <input type="radio" name="fmat" id="burger" value="burgare" checked>
        <label for="burger">Burgare</label> <br>
        <input type="radio" name="fmat" id="pizza" value="pizza">
        <label for="pizza">Pizza</label> <br>
        <input type="radio" name="fmat" id="bolognese" value="bolognese">
        <label for="bolognese">Bolognese</label> <br> <br>

        <input type="submit" value="Submit">
    </form>
</body>
</html>