Having a problem with the syntax in this loop but not sure where... Can anyone help?
cheers....
<?php for($i = 0; $i < 20); $i++) { ?> <input type="hidden" name="suburb<?php echo $i; ?>" value="<?php echo $_POST['suburb$i']; ?>" /> <?php } ?>
U close 2 brackets in the for loop
for($i = 0; $i < 20); $i++)
should be:
for($i = 0; $i < 20; $i++)