have you looked at the eval function? it will let you do something similar:
$string = 'this is a $variable';
$variable = 'template';
eval("\$string = $string");
echo $string; -> this is a template
(haven't checked it, but syntax should be ok)
jack
-Original Message-
From: --- [mailt
uch appreciated.
Jack Dempsey
--
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]