01
1064: 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 (id_benefice=0 OR id_benefice IS NULL) AND (id_categorie=0 OR id_categor' at line 1
SELECT r.title as r_title, r.description as r_description, r.keywords as r_keywords, r.robots as r_robots, r.url as r_url FROM referencement r JOIN type_referencement tr ON r.id_type_referencement=tr.id_type_referencement WHERE (id_univers=0 OR id_univers = ) AND (id_benefice=0 OR id_benefice IS NULL) AND (id_categorie=0 OR id_categorie IS NULL) AND (id_produit=0 OR id_produit IS NULL) AND (id_marque=0 OR id_marque IS NULL) ORDER BY tr.priorite DESC LIMIT 1