[CLASS DataAccess] -> getRecords() - Errore recupero record da modello - 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 X.position ASC, X.id DESC' at line 10 - SELECT X.id , X.id_item , X.image , X.position , XL.caption FROM progetto_gallery AS X INNER JOIN progetto_gallery_lang AS XL ON X.id = XL.id_img WHERE 1 = 1 AND X.id_item = ORDER BY X.position ASC, X.id DESC