![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/11/2011, 05:30
|
![Avatar de Eleazan](http://static.forosdelweb.com/customavatars/avatar230905_1.gif) | | | Fecha de Ingreso: abril-2008 Ubicación: Ibiza
Mensajes: 1.879
Antigüedad: 16 años, 9 meses Puntos: 326 | |
Respuesta: sacar consulta aleatoria php y mysql No "dupliques" los post, please! :)
De todas formas, existe algo que tienes "mal" en tu bucle.
Si la noticia existe, SEGUIRÁ haciendo el bucle, con el mismo ID eternamente (bucle infinito).
Si no existe, sumará 1 al id, y saldrá del bucle.
Creo q no es el comportamiento que buscas ;) |