Does anyone know why the button in the last while record does not execute the form's action?
<?php
while($dados_tabela = $consulta_tabela -> fetchObject()) {
?>
<tr>
<td><?php echo $dados_tabela->id; ?></td>
<td><?php echo $dados_tabela->nome; ?></td>
<td><?php echo $dados_tabela->usuario; ?></td>
<td><?php echo $dados_tabela->senha; ?></td>
<td><?php echo $dados_tabela->email; ?></td>
<td align="center">
<table>
<tr>
<td>
<form name="editar_usuario" action="../php/editar_usuario.php" method="post">
<input type="hidden" name="id_editar" value="<?php echo $dados_tabela->id; ?>" />
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-edit"></i></button>
</form>
</td>
<td>
<form name="excluir_usuario" action="../php/excluir_usuario.php" method="post">
<input type="hidden" name="id_excluir" value="<?php echo $dados_tabela->id; ?>" />
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-trash-o"></i></button>
</form>
</td>
</tr>
</table>
</td>
</tr>
<?php
}
?>