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
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
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);
Richard Luckhurst wrote:
Hi
I am in the process of portin
Got the solution (i wonder why i always get into the list, post the question
and end up with the answer 15 minutes later. I'm obviously too nervous and
rush for help :-) )
The correct code is the following:
And that's all, folks!!!
EOT;
$text =
preg_replace("/(.*)(<\?.*?\?>)(.*)/imse","'\\1'.h
4 matches
Mail list logo