how do i create variable variables inside a for loop?
this is the loop:
for ( $counter = 1; $counter <= $aantalZitjesBestellen; $counter ++) { }
This will work as well:
for ( $counter = 1; $counter <= $aantalZitjesBestellen; $counter ++) { ${'seat' . $counter} = $_POST['seat' . $counter]; }