>
> I get this error:
>
> HTML::Template : Attempt to set nonexistent parameter 'path'
> - this parameter name doesn't match any declarations in the
> template file : (die_on_bad_params => 1) at templ.pl line 6
>
> please help...
It's die'ing because die_on_bad_params is set, and you're pass
>
> I've got a __first__ that isn't acting the way I expect it...
> it's always false. I'm wondering if that's happening because
> I've got global_vars on and it's the inner loop of a two-loop nest.
You are setting loop_context_vars, aren't you?
Ben
---
> -Original Message-
> From: Doc [mailto:[EMAIL PROTECTED]]
> Sent: 26 September 2002 05:12
> To: Norikatsu Shigemura
> Cc: [EMAIL PROTECTED]
> Subject: Re: [htmltmpl] HTML-Template and DBI
>
>
> I just realized something, doesnt fetch_array return column
> values and not column names?
like:
use CGI qw(:standard);
print header, $template->output;
Please also post the template you are using.
regards,
Ben
> -Original Message-
> From: Doc [mailto:[EMAIL PROTECTED]]
> Sent: 22 September 2002 15:44
> To: Ben Ausden; [EMAIL PROTECTED]
> Subject: Re: [htmlt
try this:
my @rows = ();
while ( my $data = $sth->fetchrow_hashref() ) {
push @rows, $data;
}
$template->param(ROWS => \@rows);
regards,
Ben
-Original Message-
From: Doc [mailto:[EMAIL PROTECTED]]
Sent: 22 September 2002 15:10
To: [EMAIL PROTECTED]
Subject: [htmltmpl] HTML-Template