Re: again template-variables referencing question

From: Date: Wed, 28 Nov 2001 18:47:26 +0000
Subject: Re: again template-variables referencing question
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2076@lists.php.net to get a copy of this message
> > {section name=folders loop=$folders} > > {section name=path loop=$folders[folders].path} > > {section name=folders loop=$folders} > {section name=path loop=$folders[folders]} > {$folders[folders][path]} > {$folders[folders][path].foo} > {$folders[folders][path].bar} > {/section} > {/section} not quite it, i want to loop through the array which is in $folders[ <some-index> ] [ 'path' ] i.e. $folders[ 0 ] [ 'path' ] $folders[ 1 ] [ 'path' ] inside the inner section i dont want, as your example would do it (i think) $folders[ 0 ] [ <some-index> ] [ 'foo' ] -- Wolfram

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