assign a value to an array within a template
| From: | Christian Pelster | Date: | Sat, 29 Oct 2005 13:38:08 +0000 |
| Subject: | assign a value to an array within a template | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-13127@lists.php.net to get a copy of this message | ||
Hi,
how do I assign a value to an array within a template,
my first idea:
{assign var=$array[$key] value='abc"}
seems to be so simple but i drives me nuts.
thanks,
pelle