Re: [PHP] preg_replace_callback(), how to pass function argument/param?
- From: micky@xxxxxxxxxxxxx
- Date: Sun, 30 Mar 2008 14:37:27 -0400 (EDT)
Hi Casey! Many thanks for your help! I greatly appreciate it. :)
preg_replace_callback($f, 'mah_processTags($arg1)', $text);preg_replace_callback($f, 'mah_processTags(\'$0\', $arg1)', $text);
Does this work?
Ah, interesting... Thanks for the example code... I am at work now, but
will try that as soon as I get home later tonight. Your code examp looks
very promising -- I will let you know how it goes.
A billion thanks!
Cheers,
Micky
.
- References:
- Prev by Date: Re: [PHP] preg_replace_callback(), how to pass function argument/param?
- Next by Date: Re: [PHP] Re: optimilize web page loading
- Previous by thread: Re: [PHP] preg_replace_callback(), how to pass function argument/param?
- Next by thread: Re: [PHP] preg_replace_callback(), how to pass function argument/param?
- Index(es):