Error en la consulta limitada: select * from producto WHERE categoria='' AND subcategoria='' ORDER BY id ASC LIMIT -6,6. 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 '-6,6' at line 1