Re: [PHP] preg_replace_callback(), how to pass function argument/param?
- From: micky@xxxxxxxxxxxxx (Micky Hulse)
- Date: Sun, 30 Mar 2008 21:37:23 -0700
Casey wrote:
preg_replace_callback($f, 'mah_processTags(\'$0\', $arg1)', $text);
Does this work?
Awww, does not seem to work. :(
But maybe I need to dink with the code a bit more...
I would like to avoid setting a global here. :D
Thanks for the help Casey! I will let you know if I get it working. I may just have to think of a different approach here.
Cheers,
Micky
--
Wishlist: <http://tinyurl.com/22xonb>
Switch: <http://browsehappy.com/>
BCC?: <http://snipurl.com/w6f8>
My: <http://del.icio.us/mhulse>
.
- Follow-Ups:
- References:
- Prev by Date: Re: [PHP] Re: Quick email address check
- Next by Date: Re: [PHP] preg_replace_callback(), how to pass function argument/param?
- 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):