Wrote by "Smejkal Petr" in 2002/09/23 16:36 JST
>> Try:
>> my @rows = ();
>> while ( my $row = $sth->fetchrow_hashref() ) {
>>   my %data = %$row;
>>   push @rows, \%data;
>> }
>> $template->param(ROWS => \@rows);

        Hum...  fetchall_arrayref({}) is same function.

Try:
$template->param(ROWS => $sth->fechall_arrayref({}));


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to