fixing a sql query not using prepare(?) & execute($var) method

This commit is contained in:
tipaul 2003-01-28 14:53:30 +00:00
parent c0c8f96121
commit d8c2e556ce

View file

@ -334,11 +334,11 @@ sub receiveorder {
my $sth=$dbh->prepare($query);
$sth->execute;
$sth->finish;
$query="update aqorderbreakdown set bookfundid=$bookfund where
ordernumber=$ordnum";
$query="update aqorderbreakdown set bookfundid=? where
ordernumber=?";
$sth=$dbh->prepare($query);
# print $query;
$sth->execute;
$sth->execute($bookfund,$ordnum);
$sth->finish;
}