Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
use DBI ;
sub spTest {
my (@id) = (1,2,3,4) ;
my %attr = () ;
my $dbh = connectDB();
my $SQL="DELETE FROM <tablename> WHERE id = ?";
my $st = $dbh->prepare($SQL) ;
#my $seq;
$dbh->bind_param_array(1, \@id, \%attr);
#$st->execute() or debug("Couldn't execute statement: " . $st->errstr);
$st->execute_array(\%attr) ;
}
foreach $value (@array) {
my $SQL= DELETE FROM <tablename> WHERE id = $value";
my $sth = $dbh->prepare($MRSQL);
$sth->execute();
}
my $SQL= DELETE FROM <tablename> WHERE (id in ('$array[0]','$array[1]','$array[2]'));