Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/04/2006, 13:41
Avatar de Diabolus
Diabolus
 
Fecha de Ingreso: diciembre-2004
Mensajes: 453
Antigüedad: 19 años, 4 meses
Puntos: 0
como /&$/&/&$/$ pagino esto??

Bien mi problemon es que guardo la url de las imagenes en la BD,hasta aqui todo bien,pero necesito que me muestre 9 imagenes por pagina....como podria hacerlo?¿
Código PHP:
<table width="460"  align="center"><tr>
<?
$fotosxpag
=6;
$kfotos=3;
require(
"conect.php");
$query mysql_query("select url from dat_image"); 
while (
$imagenes=mysql_fetch_array($query)){
?><td align="center">
<img src="<?=$imagenes["url"]?>" width="126" height="100"></td>
<?
$can
=$can+1;
if(
$can%$kfotos==0)
{
?>
</tr>
<tr>
<?
}
$cant=$cant+1;
}
?></tr>
</table>