Re: [SMARTY] assign
| From: | messju mohr | Date: | Thu, 08 Jan 2004 14:41:09 +0000 |
| Subject: | Re: [SMARTY] assign | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10790@lists.php.net to get a copy of this message | ||
On Thu, Jan 08, 2004 at 03:35:59PM +0100, Hodicska Gergely wrote:
> Hi!
>
> $smarty->assign('x[y]', 'z');
> If make an assign like this, how can I access the created temp var in
> the template file?
you can't. variable names have to consist only of letters, digists and
"_" and should start with a letter.
> Thx in advance,
> Felho
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php