[% FOREACH foo = bar; '</tr><tr>' UNLESS loop.count % 3; # or 4 %] <td>[% foo %]</td> [% END %]
Robert wrote:
I want to create a table with some data but I want the table to start a new row every 3 or 4 times I pull some data out.
Robert
_______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
_______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
