Mysql Error on line: 291
SELECT *,cms_artists.name AS aname FROM cms_materials,cms_artists,shop_products WHERE cms_materials.id=shop_products.material AND cms_artists.id=shop_products.designer AND shop_products.id= ORDER BY shop_products.sort
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY shop_products.sort' at line 1