SQL Query Error (SELECT i.filename FROM images as i, category_specifications as c WHERE c.ref_category = 273ÔłĘder=desc AND c.ref_image = i.id) : 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 'łĘder=desc AND c.ref_image = i.id' at line 1