ERREUR: SELECT * FROM annonces a, annonces_regions r WHERE a.id = r.id_annonces AND a.visible = 1 AND (id_provinces = 7 or id_provinces = 0) AND (id_communes = or id_communes = 0) ORDER BY position limit 4 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 'or id_communes = 0) ORDER BY position limit 4' at line 1