I have a form inside an html table.
I am dynamically adding input fields to a form through jquery. When I took var dump while submitting the form, the $_POST array does
The HTML is invalid.
You cannot have a form inside a <table> but outside a <td> or <th> that is part of that table.
<table>
<td>
<th>
Some browsers error correct by moving the form somewhere it is valid (while leaving all the controls behind).
Use a validator to find this sort of markup error.