note 6358 deleted from preg_replace by ronabop

From: Date: Fri, 25 Aug 2000 09:33:05 +0000
Subject: note 6358 deleted from preg_replace by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3210@lists.php.net to get a copy of this message
the trick: /{$varname}/ doesnt work for me. that is my whole match string and i have tried it:<pre> preg_replace("/{$varname}/",$replacement,$string); preg_replace("/{$varname}/" ditto ditto "/{$varname}/" ereg_replace("{$varname}", $replacement, $string); and the rest of the obvious ones. </pre>

« previous php.notes (#3210) next »