Accessing loop-variable in a {section}
| From: | Ronny 'Ronino' Multrus | Date: | Fri, 14 Mar 2003 13:06:52 +0000 |
| Subject: | Accessing loop-variable in a {section} | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8644@lists.php.net to get a copy of this message | ||
Hello,
is it somehow possible to access the loop-variable in a section other than
like $something[currLoop]?
I got something like
{section name="sec" loop=3}
...
{/section}
and I need to know the current value of the loop-Variable. Something like $sec
doesn't work.
thx
Ronino