Help for this page
# 1. Download text-only data. Comma delimited and quoted strings for +?easy? upload. my $table = $q->param('dbtable'); # Can be any table in the database ... my $sql = "INSERT INTO $table VALUES ($record)"; my $rows = $dbh->do($sql); }
my $sql = "INSERT INTO tablename VALUES(?,?,?,?)"; my $sth = $dbh->prepare($sql); foreach my $record (@filedata) { $sth->execute($fa,$fb,$fc,$fd); }