Bonsoir,
Quel $pattern utilisé pour capturer 'bmw@yahoo.fr' et 'email' dans $subject ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 $subject = "Duplicate entry 'bmw@yahoo.fr' for key 'email'"; preg_match($pattern, $subject, $match);
Je recherche $match[0] et $match[1] où :
Merci d'avance...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 $match[0] == bmw@yahoo.fr ; $match[1] == email ;
Partager