cuando hace el ultimo loop ya no imprime
Colocalo asi:
Código PHP:
<?php
$num_por_fila =3;
$contador= 0;
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;
}
?>