Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/02/2008, 18:58
Surfiction
 
Fecha de Ingreso: enero-2008
Mensajes: 132
Antigüedad: 17 años, 1 mes
Puntos: 6
Re: Galeria de imagenes

cuando hace el ultimo loop ya no imprime

Colocalo asi:

Código PHP:
<?php  
$num_por_fila 
=3;  
$contador0;  
while (
$rowFotos mysql_fetch_array($resultFotos)) 
    {  
        if (
$contador == 7
        { 
             
$msj_mas_fotos ="...Mas Fotos"
             echo 
'<table width="770" border="0"><tr> 
            <th align="left" scope="col">'

            
//break; 
            
}    
        
$contador++;
        
$imagenes '<th scope="col"><a href="fotos.php?foto='.$rowFotos[0].'" class="Foto"><img src="thumbs/'.$rowFotos[0].'" width="96" height="78" border="2" class="Foto"/></th>'
        echo 
$imagenes
    }
?>