Erreur SQL !
FROM artistes WHERE (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]\\\\\\\'rechercher[[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]\\\\\\\'rechercher[[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]\\\\\\\'rechercher[[:>:]]" OR biographie_artiste REGEXP "[[:<:]]\\\\\\\'rechercher[[:>:]]") AND affiche_artiste="1" AND (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]sex[[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]sex[[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]sex[[:>:]]" OR biographie_artiste REGEXP "[[:<:]]sex[[:>:]]") AND affiche_artiste="1" AND (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]porno\\\\\\\'||lower('')||'[[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]porno\\\\\\\'||lower('')||'[[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]porno\\\\\\\'||lower('')||'[[:>:]]" OR biographie_artiste REGEXP "[[:<:]]porno\\\\\\\'||lower('')||'[[:>:]]") AND affiche_artiste="1" ORDER BY nom_artiste ASC
Got error 'empty (sub)expression' from regexp