x113/J1.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"; $result = mysqli_query($db,$query) or die (msqli_error($db)); $row = mysqli_fetch_array($result); ?> <form action='' method = 'get' action=''> <select name='waardes'> <option value = 'Waarde1'> Tekst1 </option> <option value = 'Waarde2'> Teks2 </option> <option value = 'Waarde3'> Tekst3 </option> </select> <input name='achternaam' type='text' value=''> <input name='nummer' type='hidden' value =''> <input name='' type='submit' value ='verzenden'> </form> </body> </html>

Resultaat

Made by Thijs Aarnoudse