Re: [SMARTY] multidimensional arrays and foreach iterations

From: Date: Fri, 26 Apr 2002 14:22:40 +0000
Subject: Re: [SMARTY] multidimensional arrays and foreach iterations
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3901@lists.php.net to get a copy of this message
On Fri, 26 Apr 2002, Jens Lehmann wrote: > > There are two things I want to say: > > 1. Can I do something like $array[$var] (whereas $array is an array and $var > is a variable and a key of $array) in a Smarty Template? > > {$array[$var]} and {$array.$var} didn't work: Smarty Plugin Error ... > unknown Tag $array.$var ... You can. In the next release. -Andrei * The future is not what it used to be. *

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