la consulta:
Código PHP:
Ver original
$_pagi_sql = "SELECT * FROM libros WHERE titulo LIKE '%$subtitulo%' IN (SELECT * FROM libros $_pagi_sql) ORDER BY titulo ASC";}
el error:
Código PHP:
Ver original
Error en la consulta de conteo de registros: SELECT COUNT(*) FROM libros WHERE autor LIKE '%barral%') ORDER BY titulo ASC. Mysql dijo: 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 ') ORDER BY titulo ASC' at line 1