RE: [SMARTY] Assigning arrays in a template...

From: Date: Sun, 27 Oct 2002 20:00:09 +0000
Subject: RE: [SMARTY] Assigning arrays in a template...
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6244@lists.php.net to get a copy of this message
This is untested, but maybe try: {assign var="myvar.index" value="value"} ?? -- Josh -----Original Message----- From: Philippe Desaulniers [mailto:filou@histrion.org] Sent: Sunday, October 27, 2002 2:38 PM To: smarty-general@lists.php.net Subject: [SMARTY] Assigning arrays in a template... 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 -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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