0
I am developing a simple system to practice my knowledge and I am at a time I want to perform a query to the database and resume on the screen in two columns, the part of the query is ok, but lists all the data under each other and I don’t want it to be like this, someone would know how to help me?
I want it to be more or less like this:
and the code is like this:
<?php
include "conexao.php";
$sql = "SELECT * FROM usuarios";
$query = mysql_query($sql);
$row = mysql_num_rows($query);
$i = 0;
while($linha = mysql_fetch_array($query)){
$id = $linha['id'];
$nome = $linha['nome'];
$email = $linha['email'];
}
?>