Cita:
<?
//hacemos las consultas
$result_total = ("SELECT * FROM web_rubro ORDER BY id_rubro ASC");
$result = mysql_query($result_total, $connect) or die(mysql_error());
$totalregistros=mysql_num_rows($result);
while($row=mysql_fetch_array($result))
{
echo "<TABLE WIDTH=190 BORDER=0 CELLPADDING=0 CELLSPACING=0>";
echo "<TR>
<TD background='images/td1.jpg' WIDTH=190 HEIGHT=25 ALT='' valign=top style='padding-top:6px '>
<div style='margin-left:33px '><a href='servicios.php?rb=".$row[id_rubro]."' class='gray'>".$row[rubro]."</a></div>
</TD>
</TR>";
echo "</TABLE>";
}
mysql_free_result($result);
?>
//hacemos las consultas
$result_total = ("SELECT * FROM web_rubro ORDER BY id_rubro ASC");
$result = mysql_query($result_total, $connect) or die(mysql_error());
$totalregistros=mysql_num_rows($result);
while($row=mysql_fetch_array($result))
{
echo "<TABLE WIDTH=190 BORDER=0 CELLPADDING=0 CELLSPACING=0>";
echo "<TR>
<TD background='images/td1.jpg' WIDTH=190 HEIGHT=25 ALT='' valign=top style='padding-top:6px '>
<div style='margin-left:33px '><a href='servicios.php?rb=".$row[id_rubro]."' class='gray'>".$row[rubro]."</a></div>
</TD>
</TR>";
echo "</TABLE>";
}
mysql_free_result($result);
?>