Geoff Berrow wrote:
EricI want to replace 'xxx' with '12' (for example) in a string $chaine. How can I do ?
str_replace("xxx","12",$chaine)
better make that an assignment:
$chaine = str_replace('xxx', '12', $chaine);
--
I have a spam filter working.
To mail me include "urkxvq" (with or without the quotes)
in the subject line, or your mail will be ruthlessly discarded.