Would it be sufficient to simply use a combination of <ol> with <li> in front of every name you want to print?
-----Original Message----- From: Johannes Gamperl [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 3:06 PM To: HTML::Template Discussion List Subject: [htmltmpl] Is there a counter inside a loop? Hello List, 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 would get the listing (number count) automaticly .. is ther a special var for that? thx a lot and best regardes ;o) Hannes --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
