Query Error SELECT *,record_id as id FROM fs_products_navado_fil AS a
WHERE published = 1 ) AND category_id = "22" ORDER BY ordering DESC, created_time DESC LIMIT 0,18
Array
(
[0] => 42000
[1] => 1064
[2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND category_id = "22" ORDER BY ordering DESC, created_time DESC LIMIT 0,18' at line 2
)