Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/10/2011, 13:46
ILuzbel
 
Fecha de Ingreso: septiembre-2011
Mensajes: 106
Antigüedad: 12 años, 7 meses
Puntos: 19
Respuesta: [Problema] noticia vacia

Cita:
Iniciado por Triby Ver Mensaje
Me gustaria saber porque haces esto:

Código PHP:
Ver original
  1. while(($count<$rpp) && ($i<$tcount)) {
  2.             mysql_data_seek($resultado,$i);
  3.             $quer = mysql_fetch_array($resultado);
  4.             // output each row:
  5.             $notice = mysql_fetch_array($resultado);

Creo que seria mas facil:
Código PHP:
Ver original
  1. while($quer = mysql_fetch_array($resultado)) {
  2.             // Y, si aparte necesitas $notice
  3.             $notice = $quer;
  4.  
  5. // Si no usas $quer para nada, entonces:
  6. while($notice = mysql_fetch_array($resultado)) {

Listo, con eso recorreras las noticias secuencialmente sin brincarte alguna
Verdad estaba borrando esa variable y la estaba cambiando por otro nombre pero al final no la borre, muchas gracias