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 'html;-vacances AND type_logement.id_type = logement.type_logement' at line 29