in reply to Re: Grouping multiple records in a row...templating ?
in thread Grouping multiple records in a row...templating ?

Without using HTML::Template::Expr or making the assumption that id's are sequential (which has bitten me before) you can do something like this in your Perl code:
$_->{nextrow) = ($i++ % 3) for @pictures;

Hope this helps.

gav^