I1_1.php

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>I1 pagina 1</title> </head> <body> <?php include('db.php'); $query = "select * from auteurs "; $result = mysqli_query($db, $query) or die(mysqli_error($db)); while($row=mysqli_fetch_array($result)){ echo "<div><a href=I1_2.php?auteurnr=$row[auteurnr]>$row[voornaam] $row[tussenvoegsel] $row[achternaam]</a> - $row[geb_jaar]</div>"; } ?> </body> </html>

Resultaat

Made by Thijs Aarnoudse