Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. $resultado = mysqli_query("SELECT * FROM usuario ORDER BY nome;");
  2. $linha = mysqli_num_rows($resultado);
  3.  
  4. while($linha = mysqli_fetch_array($resultado)){
  5. echo "<tr>";
  6. echo "<td>".$linha['matricula']."</td>";
  7. echo "<td>".$linha['nome']."</td>";
  8. echo "<td>".$linha['nivel_acesso']."</td>";
  9. echo "</tr>";
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement