Re: Count and Preg_Replace Using Version 4.4.1
| From: | comex | Date: | Sun, 04 Dec 2005 16:08:46 +0000 |
| Subject: | Re: Count and Preg_Replace Using Version 4.4.1 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226834@lists.php.net to get a copy of this message | ||
> form'.$count.'...
You can use preg_replace_callback or the e pattern modifier to let you
run php code for the replacement:
http://us3.php.net/manual/en/function.preg-replace-callback.php
http://us3.php.net/manual/en/reference.pcre.pattern.modifiers.php