Error is 'Can't call method bind_parm on an undefined value'.$dbh->prepare($Command_B); my $count = 1; my $sthB_A; foreach (@CHOICE_B[1 .. $elements_in_array_B]){ $sthB_A->bind_param($count, $_); $count++; } $sthB_A = $dbh->do($Command_B) or die "Couldn't do query: ".$dbh->err +str;
In reply to Error with the bind_param by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |