<form>
<?php
for($i=1; $i<=3; $i++){
print '<input ... name="'.$until.$i.'">...
print '<input ... name="'.$quantity.$i.'">...
}
?>
</form>
Is it possible with this for:
for($p=1; $p<=3; $p++){
$until.$p = $_POST['until'.$p]; // not required
$quantity.$p = $_POST['quantity'.$p]; // required
}
to create vars that will have these names?
$until1
$quantity1
...
$until3
$quantity3
My solution won't obviously work...