Webbserverprogrammering 1

Show sourcecode

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

public_html/exercises/

formulärsvar.php
incl/
kakan3.php
sida1.php
sida2.php
sida3.php
uppg-cookiesession1.php
uppg-cookiesession2.php
uppg-cookiesession3.php
uppg-form1.php
uppg-formulär1.php
uppg-formulär2.php
uppg-formulär4.php
uppg-funk.php
uppg-inklFiler.php
uppg1-5.php
välkomst.php

uppg-formulär1.php

46 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html lang="sv">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>The bridge of death</title>
</head>
<body>
    <form action="formulärsvar.php" method="post">
        <fieldset>
            <legend>What is your name?</legend>
                <input type="radio" value="Lancelot" name="namn">
                <label for="Lancelot">My name is Sir Lancelot of Cammelot!</label><br>
                <input type="radio" value="Robin" name="namn">
                <label for="Robin">Sir Robin of Cammelot!</label><br>
                <input type="radio" value="Gallahad" name="namn">
                <label for="Gallahad">Sir Gallahad of Cammelot!</label><br>
                <input type="radio" value="Arthur" name="namn">
                <label for="Arthur">It is Arthur, kind of the Brittains!</label>
        </fieldset>
        <fieldset>
            <legend>What is your quest?</legend>
                <input type="radio" value="Grail" name="quest">
                <label for="Blue">To seek the holy grail!</label><br>
                <input type="radio" value="Swallow" name="quest">
                <label for="Green">To learn the differences between an african and a european swallow!</label><br>
                <input type="radio" value="Fart" name="quest">
                <label for="Yellow">To fart in your general direction!</label><br>
                <input type="radio" value="Siberia" name="quest">
                <label for="Red">To learn about the capital of Siberia!</label>
        </fieldset>
        <fieldset>
            <legend>What is your favourite colour?</legend>
                <input type="radio" value="Blue" name="fav_colour">
                <label for="Blue">Blue!</label><br>
                <input type="radio" value="Green" name="fav_colour">
                <label for="Green">Green!</label><br>
                <input type="radio" value="Yellow" name="fav_colour">
                <label for="Yellow">Yellow!</label><br>
                <input type="radio" value="Red" name="fav_colour">
                <label for="Red">Red!</label>
        </fieldset>
        <button type="submit">skicka in eller något ja venne</button>
    </form>
</body>
</html>