Re: passing data to TT?
[prev]
[thread]
[next]
[Date index for 2005/01/26]
On 26 Jan 2005, at 21:43, raptor wrote:
> hi,
>
> how do u pass cdbi data to Template Toolkit for iteration ? which is
> the most efficeint way?
> With DBI I normally pass a AoH .....
Pass in an iterator and use a while loop:
[% WHILE (row = rows.next) %]
[% row.field %]
[% END %]
Jonathan
 |
 |
Re: passing data to TT?
Jonathan Tweed 21:48 on 26 Jan 2005
|