I have the form below which I would like to store to database using ‘Insert a record on another table’
<form action="" method=“post” >
<td><input name=“field1[]” value="" ></td>
<td><input name=“field2[]” value="" ></td>
<td><input name=“field3[]” value="" ></td>
<td><input name=“field1[]” value=""></td>
<td><input name=“field2[]” value=""></td>
<td><input name=“field3[]” value=""></td>
<td><input name=“field1[]” value=""></td>
<td><input name=“field2[]” value=""></td>
<td><input name=“field3[]” value=""></td>
<button type=“submit” id=“submit” name=“submit” > Go </button>
</form>
I know that some sort of array / foreach would be in order, but I have tried many things and nothing seems to be working for me… any help is massively appreciated