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 "[[:<:]]or[[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]or[[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]or[[:>:]]" OR biographie_artiste REGEXP "[[:<:]]or[[:>:]]") AND affiche_artiste="1" AND (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]([[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]([[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]([[:>:]]" OR biographie_artiste REGEXP "[[:<:]]([[:>:]]") AND affiche_artiste="1" AND (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]1,2)[[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]1,2)[[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]1,2)[[:>:]]" OR biographie_artiste REGEXP "[[:<:]]1,2)[[:>:]]") AND affiche_artiste="1" AND (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]=\\\\\\\\\\\\\\\'([[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]=\\\\\\\\\\\\\\\'([[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]=\\\\\\\\\\\\\\\'([[:>:]]" OR biographie_artiste REGEXP "[[:<:]]=\\\\\\\\\\\\\\\'([[:>:]]") AND affiche_artiste="1" AND (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]select*from([[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]select*from([[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]select*from([[:>:]]" OR biographie_artiste REGEXP "[[:<:]]select*from([[:>:]]") AND affiche_artiste="1" AND (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]select[[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]select[[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]select[[:>:]]" OR biographie_artiste REGEXP "[[:<:]]select[[:>:]]") AND affiche_artiste="1" AND (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]name_const([[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]name_const([[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]name_const([[:>:]]" OR biographie_artiste REGEXP "[[:<:]]name_const([[:>:]]") AND affiche_artiste="1" AND (REPLACE (nom_artiste,"é","e") REGEXP "[[:<:]]char[[:>:]]" OR REPLACE (prenom_artiste,"é","e") REGEXP "[[:<:]]char[[:>:]]" OR REPLACE (nom_complet_artiste,"é","e") REGEXP "[[:<:]]char[[:>:]]" OR biographie_artiste REGEXP "[[:<:]]char[[:>:]]") AND affiche_artiste="1" ORDER BY nom_artiste ASC
Got error 'parentheses not balanced' from regexp