A consulta falhou : 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 '' at line 1select distinct(id_description) from services as s inner join description as d on s.service_id = d.id_description where s.id_category = '28' and id_lang =