Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/07/2004, 08:31
edwinmc
 
Fecha de Ingreso: octubre-2003
Mensajes: 152
Antigüedad: 20 años, 6 meses
Puntos: 2
Código HTML:
<table>
<?
while($row = mysq_fetch_array($id))
{
?>
  <tr>
<?

for($i=0;$i<=mysql_num_fields($id);$i++)
{
?>
   <th><?  echo $row["campo"] ?></th>
<?
}
?>
  </tr>
<?
}
?>
</table> 
Supongo que seria asi, puede optimizar el codigo un poco...

Última edición por edwinmc; 07/07/2004 a las 08:34