Ver Mensaje Individual
  #11 (permalink)  
Antiguo 18/08/2005, 21:50
Avatar de hendrix
hendrix
 
Fecha de Ingreso: agosto-2003
Ubicación: chile lindo
Mensajes: 1.109
Antigüedad: 20 años, 8 meses
Puntos: 7
gracias amigos,.......ya entendi la dinamica de la cuestion pero me surgio un problema,..necesito la tabla al reves es decir esta me mandaron ustedes:

<table width="400" border="1">
<tr>
<td colspan="4"><div align="center">Resultados</div></td>
</tr>
<tr>
<td width="100">Nombre</td>
<td width="100">Apellidos</td>
<td width="100">edad</td>
<td width="100">pais</td>
</tr>
<?
while($row = mysql_fetch_array($_pagi_result)){
?>
<tr>
<td width="100"><?echo $row['nombre']?><td>
<td width="100"><?echo$row['apellido']?></td>
<td width="100"><?echo$row['edad']?></td>
<td width="100"><?echo$row['pais']?></td>
</tr>
<?
}//fin del while
?>
</table>

y me sale asi: nombre apellido edad pais
.......... .......... ...... .....
.......... .......... ...... .....

y la necesito asi:

nombre ..........
apellido ..........
edad ..........
pais ..........

he tratdo toda la tarde en transformarla pero no he podido,..construi otra tabal pero no se como dividir el codigo,........aydenme en esto, gracias.

chaoooooo