errore : select m.*,mt.* from as m inner join as mt on (mt.id_padre=m.id and mt.lingua=1) where m.id=189 and (pubvisibile_0_ & 2)>0 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 'as m inner join as mt on (mt.id_padre=m.id and mt.lingua=1) where m.id=189 and ' at line 1