What I'm trying to do:
item_no
column, and the other columns are the per input?please note this is my inputs per table row
<tr>
<td><input type="number" name="quantity[]" class="form-control"></td>
<td><input type="number" name="unit[]" class="form-control"></td>
<td><input type="text" name="item_description[]" class="form-control"></td>
<td><input type="number" name="stock_no[]" class="form-control"></td>
<td><input type="number" name="eunitcost[]" class="form-control"></td>
<td><input type="number" name="ecost[]" class="form-control"></td>
<td><a href="#" class="btn btn-primary btn-sm delete">X</a></td>
</tr>
I want to save it on my database like this
| ItmId | qnty | Unt | Descrpt | stkNum | estUntCst | estCst | pr_num |
| 2 | 2 | 2 | 2 | 3 | 3 | 3 | 5 |
| 1 | 1 | 1 | 1 | 4 | 4 | 4 | 6 |