Re: [PHP] Re: Help with preg_replace

2007-11-08 Thread Robin Vickery
On 08/11/2007, Jochem Maas <[EMAIL PROTECTED]> wrote: > Al wrote: > > Delimiters needed. Can use about anything not already in your pattern. > > "/" is very commonly used; but I like "#" or "%" generally; but, you > > can't use "%" because your pattern has it. > > > > $html = preg_replace("#%ResI

Re: [PHP] Re: Help with preg_replace

2007-11-07 Thread Jochem Maas
Al wrote: > Delimiters needed. Can use about anything not already in your pattern. > "/" is very commonly used; but I like "#" or "%" generally; but, you > can't use "%" because your pattern has it. > > $html = preg_replace("#%ResID#",$bookid,$html); wont a str_replace() do just fine in this ca