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:

my $sth = $dbh->prepare($sql) or die "No sth: '$DBI::ErrStr'", $!;
With luck, you'll get something telling what the database doesn't like.

Do you see a pattern forming here? Always check for errors when you go to the system!

After Compline,
Zaxo

  • Comment on Re: Re: Re: Update on checkbox queries- revamped code and STILL getting blank screen..........Can anyone help?
  • Select or Download Code