![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/07/2009, 23:35
|
![Avatar de acoevil](http://static.forosdelweb.com/customavatars/avatar251032_4.gif) | | | Fecha de Ingreso: julio-2008 Ubicación: localhost/colombia/sevillaValle.php
Mensajes: 1.123
Antigüedad: 16 años, 6 meses Puntos: 32 | |
Respuesta: Organizar datos de base de datos MysQL en columnas y filas. $usuarios = mysql_query( "select * from usuarios" ) or die( mysql_error() ); echo "<tr>";
while( $dato= mysql_fetch_assoc( $usuarios ) ) {
echo "<td>".$dato['nombre']."</td>";
echo "<td>".$dato['apellido']."</td>";
echo "<td>".$dato['telefono']."</td>";
} echo "</tr>"; |