Re: [SMARTY] Accessing arrays in value-property of {assign}

From: Date: Fri, 14 Mar 2003 14:10:50 +0000
Subject: Re: [SMARTY] Accessing arrays in value-property of {assign}
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8651@lists.php.net to get a copy of this message
On Fri, Mar 14, 2003 at 03:00:01PM +0100, Ronny 'Ronino' Multrus wrote: > Hello, > > is there any way of assigning values of an array in {assign}? > > {assign var="someVar" value="$someArray.someValue"} use {assign var="someVar" value=$someArray.someValue} have fun messju > just outputs > Array.someValue > > {assign var="someVar" value="$smarty.post.someValue"} > outputs > Fatal error: Smarty: [in template.tpl line 8]: syntax error: $smarty. is an > unknown reference (Smarty_Compiler.class.php, line 1759) in > /path/to/Smarty_Compiler.class.php on line 1812 > > I'm using 2.5RC1. > > Btw: Is there any IRC-Channel where Smarty-users/developers discuss? > > Ronino > > -- > Freie Software für eine freie Welt - keine Software-Patente! > http://petition.eurolinux.org/index_html?LANG=de > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Universeller multifunktionaler Interface-Adapter.: Lötkolben. Peter Berlich

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