Assigning arrays in a template...
| From: | Philippe Desaulniers | Date: | Sun, 27 Oct 2002 19:38:23 +0000 |
| Subject: | Assigning arrays in a template... | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6243@lists.php.net to get a copy of this message | ||
Hello,
How should one go about doing the following:
{ assign var="myvar" value=array('index' => 'value' ) }
I know the code above doesn't work, and I'd like to avoid
doing {php} sections...
Any idea?
Thanks,
phil