G
2002-04-13 07:06:02 UTC
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
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
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php