RE: [PHP] Pattern matching and replacement!

From: Date: Tue, 08 May 2001 08:05:36 +0000
Subject: RE: [PHP] Pattern matching and replacement!
Groups: php.general 
Request: Send a blank email to php-general+get-51870@lists.php.net to get a copy of this message
> As you can see. I am using the {% and %} to delimit the parts > that need to be replaced. I can't get the replacements to work > right though. Can someone help? $text = ereg_replace("\{\%Last_Name\%\}", $lastname, $text); Should be something like that :) Jason

« previous php.general (#51870) next »