Re: [SMARTY] looping foreach

From: Date: Fri, 19 Nov 2004 06:30:49 +0000
Subject: Re: [SMARTY] looping foreach
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11978@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jordi Canals, *, Jordi Canals wrote on Wed Nov 17, 2004 at 04:50:37PM +0100: ... > > {foreach name=main from=$menu item=entry} > <a href="{$entry.link}">{$entry.text}</a> > {foreach name=submenu from=$entry.items item=subentry} > <a href="{$subentry.link}">{$subentry.text}</a> > {/foreach} > {/foreach} Thanks, that is working fine... just my array is a bit messed up, but this is not a smarty-related question ^^ :) - -- - --------------------------------------------------------------------- Rainer 'Ny' Bendig | http://UnresolvedIssue.org | GPG-Key: 0xCC7EA575 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBnZMZtpAZoWtAN98RAjcRAJ4ilGrkKFHC+NFBzWugtCh+8BgAAwCeMssa l03ZNQ2vB89Vq4SRQrbkMF4= =P5dC -----END PGP SIGNATURE-----

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