Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/ovning3/

index.html
ovn_form1.php
ovn_form2.php
ovn_form3.php
ovn_form4.php
ovn_form5.php
ovn_form6.php
ovn_form7.php
ovn_form8.php
svar.php
svar3.php
svar4.php
svar5.php
svar6.php
svar7.php
svarget.php

ovn_form5.php

50 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form method="post" action="svar5.php">
        <label for="name">Namn</label><br>
        <input type="text" name="name"> <br>
        <label for="name">Efternamn</label><br>
        <input type="text" name="surname"> <br>
        <label for="name">Klass</label><br>
        <input type="text" name="class"> <br>
        <label for="fotbollslag">Fotbollslag</label> <br>
        <select name="fotbollslag">
            <option value="FC Barcelona">FC Barcelona</option>
            <option value="Madrid">Real Madrid</option>
            <option value="Bayern">FC Bayern München</option>
            <option value="UTD">Manchester United</option>
            <option value="Milan">AC Milan</option>
            <option value="City">Manchester City</option>
            <option value="PSG">Paris Saint-Germain</option>
        </select>
        <br>
        <br>
        <fieldset>
            <legend>Favoritämen?</legend>
            <div>
            <input type="radio" name="amne" value="Webbserverprogrammering" id="">
            <label for="Webbserverprogrammering">Webbserverprogrammering</label>
        </div>
        <div>
            <input type="radio" name="amne" value="Kemi" id="">
            <label for="Kemi">Kemi</label>
        </div>
        <div>
            <input type="radio" name="amne" value="Religionskunskap" id="">
            <label for="Religionskunskap">Religionskunskap</label>
        </div>
    </fieldset>
    <label for="epost">E-post</label>
        <input type="text" size="40" name="epost"><br>
        <br>
        <br>
        <input type="submit" value="Skicka">
    </form>
</body>
</html>