pro_php thread: help with a replacement
Thanks Joel, works like a charm:)
Richard
Joel Wickard wrote:
> >$string = "USA|Hometown";
> >$string1 = ereg_replace('|','\',\'',$string);
>
> $string = "USA|Hometown";
> $string1 = str_replace("|", "','", $string);
>
|





