Hammy has asked for the wisdom of the Perl Monks concerning the following question:
flexreportmap.cgi: DBD::mysql::st fetchrow_arrayref failed: fetch() wi +thout execute() at library.pl line 311, <HTML> line 193. $sth = $dbh->prepare($sql); unless ($sth->execute) { fatal ("SQL query failed: " . $sth->errstr . "\n$sql"); } $ref = $sth->fetchrow_arrayref(); $sth->finish; return $ref;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't crack a DBI Error:
by Abstraction (Friar) on Sep 24, 2002 at 03:05 UTC | |
|
Re: Can't crack a DBI Error:
by spartacus9 (Beadle) on Sep 24, 2002 at 02:34 UTC | |
by Hammy (Scribe) on Sep 24, 2002 at 02:51 UTC | |
|
Re: Can't crack a DBI Error:
by rdfield (Priest) on Sep 24, 2002 at 11:19 UTC | |
|
Re: Can't crack a DBI Error:
by Daruma (Curate) on Sep 24, 2002 at 14:50 UTC | |
|
Re: Can't crack a DBI Error:
by MZSanford (Curate) on Sep 24, 2002 at 21:27 UTC |