Re: [SMARTY] Re: Variables in variables
| From: | k | Date: | Wed, 06 Nov 2002 15:11:28 +0000 |
| Subject: | Re: [SMARTY] Re: Variables in variables | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6332@lists.php.net to get a copy of this message | ||
On Wed, 6 Nov 2002 15:01:23 +0100
"Marc Debold" <Marc.Debold@tec-systems.de> wrote:
> $smarty->assing("Shop_Name", "Test Shop");
> $smarty->assign("Shop_FrontPage", "You are now in: {$Shop_Name}.");
Well, maybe this will work...
$smarty->assign("Shop_FrontPage", "You are no in:
".$smarty->_tpl_vars['Shop_Name']);
Do a print_r($smarty), i'm not 100% sure about this "_tpl_vars" ...
k