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\\\\\\\"[[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]porno\\\\\\\"[[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]porno\\\\\\\"[[:>:]]" OR biographie_artiste REGEXP "[[:<:]]porno\\\\\\\"[[:>:]]") AND affiche_artiste="1" AND (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]"21"="21[[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]"21"="21[[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]"21"="21[[:>:]]" OR biographie_artiste REGEXP "[[:<:]]"21"="21[[:>:]]") AND affiche_artiste="1" ORDER BY nom_artiste ASC
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 '21"="21[[:>:]]" OR REPLACE (prenom_artiste,"?","e") REGEXP "[[:<:]]"21"="21[[:>:' at line 1