Webbserv1: Källkod
Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/

dbtestforfattare.php
formular1.php
formular2.php
formular3.php
formular4.php
funktioner1-5.php
hej3.php
hej4.php
hej_svejs.php
index.php
ovngrunder1-4.php
sida1.php
sida2.php
sida3.php
sidslut.php
sidstart.php
uppgiftinklfiler.php
valkommen1.php
valkommen2.php

formular3.php

41 lines UTF-8 Windows (CRLF)
<?php
error_reporting
(-1);
ini_set('display_errors', 1);
ini_set('output_buffering', 0);
?>
<!DOCTYPE html>
<html lang="sv">
<head>
    <meta charset="UTF-8">
    <title>Uppgift 3</title>
</head>
<body>
    <form action="hej3.php" method="POST">
        <p>
            <label for="fornamn">Förnamn:</label>
            <input type="text" name="fornamn" id="fornamn">
        </p>
        <p>
            <label for="efternamn">Efternamn:</label>
            <input type="text" name="efternamn" id="efternamn">
        </p>
        <p>
            <label for="klass">Klass:</label>
            <input type="text" name="klass" id="klass">
        </p>
        <p>
            <label for="mat">Favoritmat:</label>
            <select name="mat" id="mat">
                <option value="pizza">Pizza</option>
                <option value="pasta">Pasta</option>
                <option value="hamburgare">Hamburgare</option>
                <option value="lasagne">Lasagne</option>
                <option value="tacos">Tacos</option>
                <option value="sushi">Sushi</option>
                <option value="köttbullar">Köttbullar</option>
            </select>
        </p>
        <input type="submit" value="Skicka">
    </form>
</body>
</html>


Document