Listar SQL
"select codigo, nome, idade, profissao, endereco, telefone, e_mail from usuarios order by codigo;"
 
$result = mysql_query('Sua Tabela Criada Acima');
$Quantos = mysql_num_rows($result);
 
$i = numero (Contador)
 
<table width="100%" border="1">
   <tr>
      <td bgcolor="#CCCCCC"><strong>Código</strong></td>
      <td bgcolor="#CCCCCC"><strong>Nome</strong></td>
      <td bgcolor="#CCCCCC"><strong>Idade</strong></td>
      <td bgcolor="#CCCCCC"><strong>Profiss&atilde;o</strong></td>
      <td bgcolor="#CCCCCC"><strong>Endere&ccedil;o</strong></td>
      <td bgcolor="#CCCCCC"><strong>Telefone</strong></td>
      <td bgcolor="#CCCCCC"><strong>E-Mail</strong></td>
   </tr> 
   <?php       for ($i=0; $i<$Quantos; $i++) {    ?>          <tr>             <td><?php echo mysql_result($result, $i, 'codigo');?></td>             <td><?php echo mysql_result($result, $i, 'nome');?></td>             <td><?php echo mysql_result($result, $i, 'idade');?></td>             <td><?php echo mysql_result($result, $i, 'profissao');?></td>             <td><?php echo mysql_result($result, $i, 'endereco');?></td>             <td><?php echo mysql_result($result, $i, 'telefone');?></td>             <td><?php echo mysql_result($result, $i, 'e_mail');?></td>          </tr>    <?php       }    ?> </table>