Then, some more detail...
If $sth->execute(…) specifies any values, it must specify them all
Bound values are sticky across multiple executions:
$sth->bind_param(1, $k1);
foreach my $k2 (@k2) {
$sth->bind_param(2, $k2);
$sth->execute;
}
Previous slide
Next slide
Back to first slide
View graphic version