0
I’m using Bootstrap to make a system. When it comes to listing my select lines while using the lines not without zebras correctly, they come out all dark, as if all the lines were the first one on the table (I think that’s what Bootstrap is getting)But the deletion and editing of each line is working perfectly, it’s just visual. Follow the code excerpt:
$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? Thanks in advance!
Dude you would have there the final code that it generates?
– KhaosDoctor