Error: Unable to perform query: Select FileName from galleries_pictures where ProjectID = 42 and Status = 1 and Lang = '1' and ItemID = order by Priority asc :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 Priority asc' at line 1