Webbserverprogrammering 1

Show sourcecode

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

Webbsrvprg/exercises/resultatsidor/

form1_result.php
form2_result.php
form3_result.php
form4_result.php
form5_result.php
form6_result.php

form3_result.php

16 lines UTF-8 Windows (CRLF)
<?php 
$title 
= "form3_result.php";
include 
"../incl/header.php";
?>

<?php
$fnamn 
= htmlspecialchars($_POST["fnamn"]);
$enamn = htmlspecialchars($_POST["enamn"]);
$klass = htmlspecialchars($_POST["klass"]);
$mat = $_POST["mat"];
?>

<h1>Resultat Formulär 3</h1>
<p>Hej <?php echo "$fnamn $enamn i $klass"?></p>
<p>Din favoritmat är <?php echo "$mat"?></p>
<?php include "../incl/footer.php" ?>