Assign an array in the template

From: Date: Thu, 24 Mar 2005 10:14:00 +0000
Subject: Assign an array in the template
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12362@lists.php.net to get a copy of this message
Hi, I need to create an array inside the template (not from php). But when I look in the documentation http://smarty.php.net/manual/en/language.custom.functions.php#language.funct ion.assign it looks like the assign inside templates only can take strings. Are there any way to do something like: {assign name=”theArray” value=Array(“key1 => “value1, “key2” => “value2)} ?? Best Regards, Mattias Hallström

« previous php.smarty.general (#12362) next »