Hi,

> &get_my_input; #Split and decode the GET string, you call them
> with $INPUT{whateverfield}

As Brett mentioned, you should CGI.pm to do this. You are already using it
in your script, so I'm not sure why you would parse it yourself... instead
of calling $INPUT{'whatever'} you can use $CGI->param('whatever') ;

> #############################
> my $rows = $sth->fetchall_arrayref(); # works when query is
> empty

Try changing this to
my $rows = $sth->fetchall_arrayref( {} ) ;

That way it will return an arrayref of hashrefs, but is what it looks like
you want, not an arrayref of arrayrefs.

Kenny Smith
JournalScape.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to