x103/M1_2.php

<?php include "db.php"; $auteurnr = $_GET["auteurnr"]; if(isset($auteurnr)){ $result = mysqli_query($db, "SELECT titel FROM boeken WHERE auteurnr=$auteurnr"); while($row = mysqli_fetch_array($result)){ echo "<tr><td>$row[0]</td></tr>"; } } ?>

Resultaat

Made by Thijs Aarnoudse