Something
public text v1 · immutable <?php
/*
* fazendo um loop para mostrar os resultados
*/
?>
<table width="200" border="1">
<tr>
<th scope="col">id</th>
<th scope="col">IP</th>
<th scope="col">MAC</th>
</tr>
</table>
<?
while ($linha=mysql_fetch_array($resultado))
{
?><table width="200" border="1">
<tr>
<th scope="col"><?php echo $linha['id']; ?></th>
<th scope="col"><?php echo $linha['ip']; ?></th>
<th scope="col"><?php echo $linha['mac']; ?></th>
</tr>
</table><?php
}
?>