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