in reply to Re: Re: using CGI, DBI and HTML::Template (a mini tutorial with example code)
in thread using CGI, DBI and HTML::Template (a mini tutorial with example code)

Good Tutorial, though l have to admit l did get caught out my the selectall_hashref and after searching this site, l found an easy solution to it:
my $table_data = $dbh->prepare($companyquery); $table_data->execute; my $arrayref = $table_data->fetchall_arrayref({}); $template->param(ROWS => $arrayref);
Hope this helps
  • Comment on Re: Re: Re: using CGI, DBI and HTML::Template (a mini tutorial with example code)
  • Download Code

Replies are listed 'Best First'.
Re: Re: Re: Re: using CGI, DBI and HTML::Template (a mini tutorial with example code)
by Anonymous Monk on Feb 08, 2004 at 09:08 UTC
    This one works much better. Thanks alot for sharing it with me. I really need it