![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/07/2003, 19:22
|
![Avatar de Manoloweb](http://static.forosdelweb.com/customavatars/avatar3763_1.gif) | | | Fecha de Ingreso: enero-2002 Ubicación: Monterrey
Mensajes: 2.454
Antigüedad: 23 años Puntos: 5 | |
Pues si debe funcionar...
Siempre que un query te esté dando problemas, te sugiero hacer algun "error check"... uno muy sencillo es hacer algo así...
echo "Select * from Soft Where id between $prime and $ulti order by id DESC";
Te puedes encontrar la sorpresa de que tienes algo así...
Select * from Soft Where id between 8 and NULL order by id DESC
o así...
Select * from Soft Where id between Jorge and 25 order by id DESC
O bien, utiliza las funciones específicas de PHP para revisar errores de mysql
mysql_error();
$query=mysql_query("select tal from tal where tal=$esto") or die (mysql_error());
__________________ Manoloweb |