I want to loop an input box based on the number of items of that field.
Currently, my form can loop properly, but how do i assign a different name for each looped field.
for example,
<input type="text" value="<?php echo "$companyname" ;?>" name="companyname" size="30">
each time this field loops, i may want the name of the input box to change like
companyname[1]
companyname[2]
and so on.