rendered paste body<?php
if ( !isset($_GET['aantaltickets']) ) {
?>
<table>
<form method="post" name="tickets_reserveren" action="tickets_reserveren.php">
<?php echo $ticket->showReservationForm(); ?>
</form>
</table>
<?php
} elseif( isset($_GET['aantaltickets']) ) {
echo '<table>';
echo '<form method="post" name="tickets_reserveren" action="tickets_reserveren.php">';
for($i=1;$i<=$_GET['aantaltickets'];$i++) {
echo $ticket->showReservationForm();
}
echo '</form>';
echo '</table>';
}
?>
<?php
if ( isset($_POST['nieuwe_klant']) ) {
echo "Nieuwe klant!";
}
if ( isset($_POST['bestaande_klant']) ) {
echo "Bestaande klant!";
}
?>