} ?> <!DOCTYPE HTML> <html> <head> <meta charset=utf-8> <title>Modules</title> </head> <body> <h1>Module bewerken</h1> <?php if ($updated) { print "Record bijgewerkt!"; } $ml = new ModuleLijst(); $module = $ml->getModuleById($_GET["id"]); ?> <form action="modulebewerking.php?action=verwerk&id=<?php print $_GET["id"]; ?> " method="post"> Naam: <input type="text" name="naam" value="<?php print $module->getNaam(); ?> "><br><br> Prijs: <input type="text" name="prijs" value="<?php print $module->getPrijs(); ?> "> euro<br>
<!DOCTYPE HTML> <html> <head> <meta charset=utf-8> <title>Modules</title> </head> <body> <h1>Module bewerken</h1> <?php if ($updated) { print "Record bijgewerkt!"; } $modLijst = new ModuleLijst(); $module = $modLijst->getModuleById($_GET["id"]); ?> <form action="dbGegevensBewerken.php?action=verwerk&id= <?php print $_GET["id"]; ?> " method="post"> Naam: <input type="text" name="naam" value=" <?php print $module->getNaam(); ?> " /><br /><br /> Prijs: <input type="text" name="prijs" value=" <?php print $module->getPrijs(); ?>