<?php include 'functies.php'; if (registreerGebruiker($_POST['inlognaam'], $_POST['wachtwoord'], $_POST['naam'], $_POST['mail'], $_POST['adres'], $_POST['postcode'])) { echo '<span class="good">Gelukt!</span>'; } else { echo '<span class="bad">Mislukt</span>'; }
<?php session_start(); include 'databaseFuncties.php'; if (registreerGebruiker($_POST['lln'], $_POST['ww'])) { echo 'Succes!'; } else { echo 'Mislukt.'; }
<?php session_start(); include 'databaseFuncties.php'; if (registreerGebruiker($_POST['naam'], $_POST['ww'], $_POST['gbd'], $_POST['email'])) { echo 'Succes!'; } else { echo 'Mislukt.'; }