Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/01/2006, 04:30
Avatar de elangelcaido
elangelcaido
 
Fecha de Ingreso: septiembre-2003
Ubicación: Oviedo
Mensajes: 1.068
Antigüedad: 20 años, 7 meses
Puntos: 4
Seria metiendo el <tr> en el bucle:
Código:
<table align="center" border = 0>
<tr>
<th>Sector</th>
</tr>
<?php
//Mostramos los registros
while ($row=mysql_fetch_array($result))
{
echo "<tr><td><a href = 'empresassector.php?idsector=".$row["Id"]."&guia=$Idguia'>".$row["sector"]."</td></tr>";
}

mysql_free_result($result);
?>
</tr>
</table>
Te he quitado la vbl contador porque creo que ya no la necesitaras.
__________________
Ta Luego! Al final sólo puede quedar uno...
________
lukos.org