[PHP-DEV] RE: [PHP] New feature suggestion: array in string substitution

2001-08-29 Thread Jack Dempsey
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

[PHP-DEV] function similar to get_html_translation_table

2001-07-19 Thread Jack Dempsey
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]