I'm developing a simple system to go practicing my knowledge and I'm in a moment that I want to perform a query to the database and to return to the screen in two columns, the query part is ok, but it lists all the data one underneath the another and I do not want it to be this way, someone would know how to help me?
I want it to look something like this:
andthecodelookslikethis:
<?phpinclude"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'];
}
?>