Query Error SELECT *
FROM fs_products_images_intelligent WHERE published = 1 AND is_on = 1 AND product_id = ORDER BY ordering ASC
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 'ORDER BY ordering ASC' at line 2
)