Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/01/2006, 17:56
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Talvez te sirva algo como esto:

Código PHP:
<html>
<body>
<table>
<tr>
<?php
    $nfotos
=32;
    
$ncols=$nfotos/5+1;
    for (
$i=0;$i<$nfotos;$i++)
    {
?>
   <td>
       <img src="<?php echo $i;?>">
   </td>
   
<?php
        
if(($i+1) % $ncols == 0)
    {
           echo 
"</tr>\n<tr>\n";
    }
    }
?>
</tr>
</table>

</body>
</html>