hip1/14.8/14.8A.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 include('../db.php'); $query = "select * from leerlingen order by achternaam, voornaam, llnr"; $result = mysqli_query($db, $query) or die(mysqli_error($db)); while($row = mysqli_fetch_array($result)){ echo "<div><a href='uitleningen.php?llnr=$row[llnr]'>$row[voornaam] $row[achternaam]</div>"; } ?> </body> </html>

Resultaat

Made by Thijs Aarnoudse