Hello,
I know there must be a simple solution for this problem, but i didn't
find it in docs.
How can i print out inside FOREACH loop (or WHILE or WHATEVER) how many
loops it has already done? Is there some kinda counter which counts it?
Basically I'd like to get something like this:
[% FOREAC
* Viljo Marrandi ([EMAIL PROTECTED]) [011031 06:32]:
> I know there must be a simple solution for this problem, but i didn't
> find it in docs.
>
> How can i print out inside FOREACH loop (or WHILE or WHATEVER) how many
> loops it has already done? Is there some kinda counter which counts it?
>
On Wed, 31 Oct 2001, Viljo Marrandi wrote:
> Hello,
>
> I know there must be a simple solution for this problem, but i didn't
> find it in docs.
Look in Template::Manual::Directives under FOREACH
> How can i print out inside FOREACH loop (or WHILE or WHATEVER) how many
> loops it has already do