Errore query SELECT * FROM aba_allegati AS a LEFT JOIN aba_allegati_txt AS t ON a.idAllegato = t.idAllegato WHERE a.cancellato = 0 AND a.idAssociato = 46 AND a.tipologia = AND t.idLingua = 1 ORDER BY a.ordine 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 'AND t.idLingua = 1 ORDER BY a.ordine ASC' at line 1