Re: [SMARTY] index in foreach loops
| From: | Andrei Zmievski | Date: | Tue, 11 Jun 2002 15:17:29 +0000 |
| Subject: | Re: [SMARTY] index in foreach loops | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4778@lists.php.net to get a copy of this message | ||
On Tue, 11 Jun 2002, Thijs van der Vossen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am I right assuming there is no way to get an index number inside a foreach
> loop?
You can get $smarty.foreach.<name>.iteration.
-Andrei http://www.gravitonic.com/
* Reality isn't all it's cracked up to be. *