l114/h11/11.5/pag2.php

<!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> <?php $vnSchr = $_GET["schrNaam"]; $anSchr = $_GET["schrAchNaam"]; echo "Het gaat hier dus om de schrijver $vnSchr $anSchr"; ?> <p>Geef 3 titel van deze schrijver</p> <form action="pag3.php" method="GET"> <input type="hidden" name="schrNaam" value="<?php echo $vnSchr ?>"> <input type="hidden" name="schrAchNaam" value="<?php echo $anSchr ?>"> <label for="tit1">titel 1</label> <input type="text" name="tit1" id="tit1"> <br> <label for="tit2">titel 2</label> <input type="text" name="tit2" id="tit2"> <br> <label for="tit3">titel 3</label> <input type="text" name="tit3" id="tit3"> <br> <input type="submit"> </form> </body> </html>

Resultaat

Made by Thijs Aarnoudse