fixing a sql query not using prepare(?) & execute($var) method
This commit is contained in:
parent
c0c8f96121
commit
d8c2e556ce
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue