Query Error SELECT *,record_id as id FROM fs_products_navado_fil AS a
WHERE published = 1 ) AND category_id = "18" ORDER BY ordering DESC, created_time DESC LIMIT 0,20
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 = "18" ORDER BY ordering DESC, created_time DESC LIMIT 0,20' at line 2
)