Query Error SELECT id, image, title
FROM fs_products_images
WHERE record_id =
ORDER BY id ASC, ordering ASC
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 'ORDER BY id ASC, ordering ASC
LIMIT 0,18' at line 4
)