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
Illegal argument to a regular expression.