select count(*) as records from (select * from tblti_productos where idcategoria = and activa=1 order by nombre asc) execPage
Fatal error: Uncaught exception 'Exception' with message 'query failed, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and activa=1 order by nombre asc) execPage' at line 1' in /home/escor091/public_html/_3sCF9nta51a/admin/herramientas/paginar/ Stack trace: #0 /home/escor091/public_html/_3sCF9nta51a/admin/herramientas/paginar/ DbQuery->exec('select count(*)...') #1 /home/escor091/public_html/_3sCF9nta51a/php/escortsListar.php(69): DbQuery->execPage(Array) #2 {main} thrown in /home/escor091/public_html/_3sCF9nta51a/admin/herramientas/paginar/ on line 78