Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/09/2009, 12:18
Avatar de nonpublic
nonpublic
 
Fecha de Ingreso: agosto-2009
Mensajes: 240
Antigüedad: 14 años, 8 meses
Puntos: 4
Respuesta: Duda urgente en WHILE (con tabla)

Algo asi:
Código PHP:
$x=0;

while(
$lol=mysql_fetch_array($ll)) {
echo 
"<table width='400' cellpadding='0' cellspacing='0' border='0'><tr>"
if($x<){
echo 
"<tr><td height='100'>$lol[$foto]</td>"// Aqui devuelves las fotos
$x+=1;
}
else {
echo 
"</tr>";
$x=0;
}