On Mon, 06 Aug 2001, [EMAIL PROTECTED] wrote:
> ID: 12477
> User updated by: [EMAIL PROTECTED]
> Reported By: [EMAIL PROTECTED]
> Status: Closed
> Bug Type: Feature/Change Request
> Operating System: Linux and SCO
> PHP Version: 4.0.6
> New Comment:
> 
> I was trying to have to walk the array twice.
> 
> The following works:
> 
> $pagevars = str_replace("$","\\\$",$pagevars);
> $page = preg_replace($template,$pagevars,$page);
> 
> The reason for using preg_replace is that it does a recursive? replace.

What do you mean, 'recursive' replace?

-Andrei
* I don't mind going nowhere as long as it's an interesting path. *

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to