Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/06/2010, 20:25
Avatar de mortiprogramador
mortiprogramador
Colaborador
 
Fecha de Ingreso: septiembre-2009
Ubicación: mortuoria
Mensajes: 3.805
Antigüedad: 14 años, 8 meses
Puntos: 214
Respuesta: Ayuda Paginacion php

Hola
Pues yo intentaria con un if
algo así
ej:
Código PHP:
Ver original
  1. // Enlace Siguiente
  2.      if ($this->currentpage < $this->pages)
  3.      {
  4.         $nextPage = $this->row + $this->limit;
  5. if($nextPage == 1 || $nextPage == 10)
  6.     echo "<td><a href=\"".$_SERVER['PHP_SELF']."?row=".$nextPage.$otherargs."\">$nexttext</a></td>\n";
  7.      }

saludos
__________________
"Si consigues ser algo más que un hombre, si te entregas a un ideal, si nadie puede detenerte, te conviertes en algo muy diferente."
Visita piggypon.com