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 products where type=1 and catID= order by Id desc
Filename: /home/decorist/public_html/models/decorist_model.php
Line Number: 35