template variables in template variables

From: Date: Sat, 13 Apr 2002 07:06:02 +0000
Subject: template variables in template variables
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3675@lists.php.net to get a copy of this message
Hello, Here's what I'm trying to do: $text = "ip={$smarty.server.HTTP_REFERER}"; $smarty->assign('text', $text); $smarty->fetch('template.tpl'); So any template variables/functions in variable contents would be parsed by smarty. Needless to say, it doesn't work. Is there a way to accomplish this? Thanks, Gerard

« previous php.smarty.general (#3675) next »