I'm using Bootstrap to make a system. At the time of listing the lines of my select using while the rows are not without zebradas correctly, they all come out dark, as if all the rows were the first one of the table (I think that is what Bootstrap is understanding), however the deletion and editing of each line is working perfectly, it's just visual. Here is the snippet of code:
$query = mysql_query(" SELECT * FROM USUARIOS ");
echo
"<table class='table table-hover table-striped'>
<thead>
</tr>
<th>Nome</th>
<th>E-mail</th>
<th></th>
<tr>
</thead>
<tbody>";
while($row = mysql_fetch_array($query)){
echo
"</tr>
<td>".$row['nome']."</td>
<td>".$row['email']."</td>
<td>
<button type='button' class='btn btn-info btn-xs' title='Detalhes' data-toggle='modal' data-target='#modalAlteracaoUsuario' data-whatever-nome='".$row['nome']."' data-whatever-email='".$row['email']."'><i class='fa fa-eye'></i></button>
<button type='button' class='btn btn-warning btn-xs' title='Trocar Senha' data-toggle='modal' data-target='#modalAlteracaoSenha' data-whatever-nome='".$row['nome']."' data-whatever-email='".$row['email']."'><i class='fa fa-key'></i></button>
<button type='button' class='btn btn-primary btn-xs' data-toggle='modal' data-target='#modalAlteracaoUsuario' data-whatever-id='".$row['id']."' data-whatever-nome='".$row['nome']."' data-whatever-email='".$row['email']."'>Editar</button>
<a class='btn btn-danger btn-xs'>Excluir</a>
</td>
<tr>";
}
echo
"</tbody>
</table>";
What can I do to fix this? Thank you!