Ver Mensaje Individual
  #11 (permalink)  
Antiguo 03/12/2007, 16:39
Sanubrio
 
Fecha de Ingreso: septiembre-2007
Mensajes: 220
Antigüedad: 16 años, 7 meses
Puntos: 1
Re: Organizar los datos mostrados en php y mysql

Código PHP:
$filas = array();
foreach (
$fila mysql_fetch_array($resultado))
{
    
$filas[] = $fila;
}

echo 
'
<table style="background:url(\''
.$filas[0]['imagen'].'\')">
<tr>
  <td><img src="'
.$filas[1]['imagen'].'" /></td>
</tr>
<tr>
  <td><img src="'
.$filas[2]['imagen'].'" /></td>
</tr>
<tr>
  <td><img src="'
.$filas[3]['imagen'].'" /></td>
</tr>
</table>
'