asi lo imprimo pero si hago solo una consulta
Código PHP:
if ($totIP> 0) {
while ($rowIP = mysql_fetch_assoc($resIP)) {
echo "<TR>";
echo "<TD>".$rowIP['SubnetMask']."</TD>";
echo "<TD>".$rowIP['ScopeName']."</TD>";
echo "<TD>".$rowIP['%Free']."</TD>";
echo "<TD>".$rowIP['TotalDynamic']."</TD>";
echo "<TD>".$rowIP['TotalReserved']."</TD>";
echo "<TD>".$rowIP['Leased']."</TD>";
echo "<TD>".$rowIP['Avail']."</TD>";
echo "<TD>".$rowIP['sql']."</TD>";
echo "</TR>";