Errore query SELECT * FROM mnz_fotografie AS a LEFT JOIN mnz_fotografie_txt AS t ON a.idFoto = t.idFoto WHERE a.cancellato = 0 AND a.idAssociato = 5 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