
20/05/2008, 07:13
|
 | | | Fecha de Ingreso: septiembre-2005 Ubicación: Córdoba
Mensajes: 1.830
Antigüedad: 19 años, 6 meses Puntos: 55 | |
Respuesta: Mostrar titulo del grupo y fotos bueno si vas a hacer la impresion con ese codigo vas a tener que poner un mysql_data_seek()
<?
if( mysql_num_rows($res_grupos) >0){
while($fila_grupos = mysql_fetch_array($res_grupos)){
echo "grupo: ".$fila_grupos["id"]."<br>";
$fg=$fila_grupos['id'];
while($fila = mysql_fetch_array($res)){
if( mysql_num_rows($res) >0 && $fila["grupo_foto_id"]==$fg ){
echo $fila["ruta"]."<br>";
}
}
mysql_data_seek(0,$res);
}
}
?> |