Error Number: 1064
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 desc' at line 1
SELECT * from product_images where product_id = order by id desc
Filename: C:/Bitnami/wampstack-7.4.30-1/apache2/htdocs/system/database/DB_driver.php
Line Number: 691