![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/03/2013, 12:20
|
![Avatar de skardo](http://static.forosdelweb.com/customavatars/avatar492542_1.gif) | | | Fecha de Ingreso: febrero-2013 Ubicación: Lima
Mensajes: 68
Antigüedad: 12 años Puntos: 1 | |
Respuesta: Consulta 20 y que reporte 10 y un boton de SIGUIENTE estara bien el IF despues del endwhile?
if($row<=$limit){
?>
<a href="<?php echo @$_SERVER['PHP_SELF'];?>?page=<?php echo $page+1;?>"><img src="admin/galeria/img/galeria_next.png"/></a>
<?php
}
else{
?>
<a href="<?php echo @$_SERVER['PHP_SELF'];?>?page=<?php echo $page-1;?>"><img src="admin/galeria/img/galeria_prev.png"/></a>
<?php } ?> |