Re: [htmltmpl] print several vars in one loop
Brought to you by:
samtregar
From: Andrew B. <an...@br...> - 2004-09-23 16:34:25
|
On 9/23/04 at 4:56 PM, off...@gm... (Offer Kaye) wrote: > Hi, >=20 > What do I write in my template to print 3 names per line? HTML::Template::Expr will allow you to do stuff like: <TMPL_LOOP NAME=3D"MY_LOOP"> Do something with <TMPL_VAR NAME=3D"MY_VAR"> <TMPL_UNLESS EXPR=3D"(__counter__ % 3) || (__last__)">=20 <br> </TMPL_UNLESS> </TMPL_LOOP> Regards, Andrew |