![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/06/2008, 09:19
|
![Avatar de Carlojas](http://static.forosdelweb.com/customavatars/avatar185210_1.gif) | | | Fecha de Ingreso: junio-2007 Ubicación: Shikasta
Mensajes: 1.272
Antigüedad: 17 años, 8 meses Puntos: 49 | |
Respuesta: Query was empty Hola T4KeOver, prueba así tu código: Código PHP: $sql2 = "SELECT * FROM articulos ORDER BY id ASC LIMIT " .$filasMAX.",".$empieza ;
$sql_exec = mysql_query($sql2) or die(mysql_error());
if (isset($_GET['total'])) {
$total = $_GET['total'];
} else {
$total = mysql_num_rows($sql_exec);
}
Saludos. |