rendered paste body <?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 $linha['id']; ?></th>
<th scope="col"><?php $linha['ip']; ?></th>
<th scope="col"><?php $linha['mac']; ?></th>
</tr>
</table><?php
/* echo "id: {$linha['id']} ";
echo "IP: {$linha['ip']} ";
echo "MAC: {$linha['mac']} <br />"; */
}
?>