![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
26/02/2007, 01:54
|
| | Fecha de Ingreso: julio-2002
Mensajes: 72
Antigüedad: 22 años, 6 meses Puntos: 0 | |
Re: Crear tabla a partir de bucle WHILE Cita:
Iniciado por carlosmbrizuela Código PHP:
<table>
<tr>
<th>Columna 1</th>
<th>Columna 2</th>
</tr>
<?php while ($aResult = mysqli_fetch_array ($result)) {
echo "<tr><td>".$aresult['campo1']."</td><td>".$aresult['campo2']."
</td></tr>";
?>
</table> saludos Infinitas gracias!!! |