Re: preg_replace_callback(), how to pass function argument/param?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux