Fatal error: Uncaught mysqli_sql_exception: 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 idSub=23 AND tinEstado=1 ORDER BY intOrden ASC' at line 1 in /home/biotecn2/public_html/libs/md/qr.php:10 Stack trace: #0 /home/biotecn2/public_html/libs/md/qr.php(10): mysqli_query(Object(mysqli), 'SELECT idCatego...') #1 /home/biotecn2/public_html/libs/cl/Categoria.php(48): Consulta->__construct('SELECT idCatego...') #2 /home/biotecn2/public_html/libs/vi/WProducto.php(61): Categoria->listar('', '23', '1') #3 /home/biotecn2/public_html/productos.php(5): include('/home/biotecn2/...') #4 {main} thrown in /home/biotecn2/public_html/libs/md/qr.php on line 10