On Wed, 17 Apr 2002, Johannes Gamperl wrote:
> is there a easy way to run a counter inside a loop?
>
> eg.
>
> <tmpl_loop name="demo">
>
> %NAME%
>
> </tmpl_loop>
>
>
> What i want, is a list like:
>
> 1. hannes
> 2. stefan
> 3. alex
> ...
I'm assuming you need something more than, say:
<ol>
<tmpl_loop name="demo">
<li>
%NAME%
</li>
</tmpl_loop>
</ol>
In the html display, that'll be numbered as you describe. But then, this
may not be how you want to display the information in the first place...
--
Chris Devers [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/
"More war soon. You know how it is." -- mnftiu.cc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]