in reply to Re: Re: Update on checkbox queries- revamped code and STILL getting blank screen..........Can anyone help?
in thread Checkbox Query Revisited
That says that $sth is undefined. In the line: my $sth = $dbh->prepare($sql); the right hand side is evaluating to undef. Either prepare() is failing, or $dbh itself is undefined. Try adding a die clause:
With luck, you'll get something telling what the database doesn't like.my $sth = $dbh->prepare($sql) or die "No sth: '$DBI::ErrStr'", $!;
Do you see a pattern forming here? Always check for errors when you go to the system!
After Compline,
Zaxo
|
|---|