Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/08/2012, 13:59
Avatar de jcxnet
jcxnet
 
Fecha de Ingreso: octubre-2005
Ubicación: Perú
Mensajes: 784
Antigüedad: 18 años, 7 meses
Puntos: 56
Respuesta: "problema" en la paginacion!

como no debes tener id's repetidos deberían ser clases:
Código PHP:
...
$total mysql_num_rows($result);
$actual 1;
while(
$rs mysql_fetch_array($result)){
  
$clase 'noticias';
   if (
$actual
     
$clase 'noticiastop';
   if (
$actual == $total
     
$clase 'noticiasbottom';
  
$actual++;
 print <<< HERE
    <div class="$clase">
    
{$rs['texto']}
    </div>
HERE;
}; 
__________________
►I'm a devil on the run ♂
Jcxnet.com
*Keep It Simple **