I need to get the value of the inputs with ID nome
and sobrenome
, but when I use $_POST
, it will return only the first, and I need them all separately.
<form method="POST">
<tr id = "0">
<td>
<input id="nome"/>
</td>
<td>
<input id="sobrenome"/>
</td>
</tr>
<tr id = "1">
<td>
<input id="nome"/>
</td>
<td>
<input id="sobrenome"/>
</td>
</tr>
<tr id = "2">
<td>
<input id="nome"/>
</td>
<td>
<input id="sobrenome"/>
</td>
</tr>
<input type="submit">
</form>