以下是我的代码
$sqlcreate = "INSERT INTO PRTJOBSTATUS (INTJOBNO,SLNO,OPDATE,OPERTYPE,OPUSER,REMARKS,STATUSCODE,STATDATE)
values (:int,:sn,:opdate,:optype,:opuser,:rmks,:stscode,:stdate)";
$stmt = $dbh->prepare($sqlcreate);
$stmt->bindValue(':int',$intjobno);
$stmt->bindValue(':sn',$slno);
$stmt->bindValue(':opdate',$today);
$stmt->bindValue(':optype',$optype);
$stmt->bindValue(':opuser',$opuser);
$stmt->bindValue(':rmks',$remarks);
$stmt->bindValue(':stscode',$statuscode);
$stmt->bindValue(':stdate',$today);
$stmt->execute();
echo "Inserted";
在运行其打印“已插入”时,但未在我的oracle数据库中更新。