[SMARTY] assign a value to an array within a template

Christian Pelster <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
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

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.