in reply to DBI and Inserting an Array
You should be able to plug your code in pretty easily.my $sth = $dbh->prepare("INSERT INTO $table ($cols) VALUES (?,?,?)") or die "$dbh->errstr"; my @array=('one', 'two', 'thee'); $sth->execute(@array) or die "$dbh->errstr : $table";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: DBI and Inserting an Array
by carric (Beadle) on Mar 12, 2004 at 04:55 UTC |