我收到此错误:
Warning: oci_parse(): ORA-01756: quoted string not properly terminated in <DIRECTORY> on line 200 Warning: oci_execute() expects parameter 1 to be resource, boolean given in <DIRECTORY> on line 201
参考此代码(标记为200/201行):
$testSQL = "insert into INTOXDM.JOINT_USE (RECEIVED,
REGION,
PERMIT,
CUSTOMER,
TO_BUSINESS,
TO_PERMIT,
POWER_ADDRESS,
COMPANY,
MAPSECTION,
POLES,
FEE,
INVOICE,
DATE_LARRY,
DAYS_LARRY,
PI_PON,
DATE_PD,
DAYS_LARRY_PD,
RETURNED,
DAYS_PD,
ERRORS_PD,
ERRORS_MULTIPLE,
DATE_MAKEREADY_JU,
DATE_MAKEREADY_COMPLETE,
DAYS_MAKEREADY,
DAYS_JU_PROCES,
APPROVAL,
DAYS_PERMIT_IN_JU,
DATE_PLANNING,
DAYS_OPEN,
DATE_ROUTED,
DAYS_TOTAL,
COMMENTS) values (
'$RECEIVED',
'$REGION',
'$PERMIT',
'$CUSTOMER',
'$TO_BUSINESS',
'$TO_PERMIT',
'$POWER_ADDRESS',
'$COMPANY',
'$MAPSECTION',
'$POLES',
'$FEES',
'$INVOICE',
'$DATE_LARRY',
'$DAYS_LARRY',
'$PI_PON',
'$DATE_PD',
'$DAYS_LARRY_PD',
'$RETURNED',
'$DAYS_PD',
'$ERRORS_PD',
'$ERRORS_MULTIPLE',
'$DATE_MAKEREADY_JU',
'$DATE_MAKEREADY_COMPLETE',
'$DAYS_MAKEREADY',
'$DAYS_JU_PROCESS',
'$APPROVAL',
'$DAYS_PERMIT_IN_JU',
'$DATE_PLANNING',
'$DAYS_OPEN',
'$DATE_ROUTED',
'$DAYS_TOTAL',
'$COMMENTS')";
$testParse = oci_parse($objConnect, $testSQL); //LINE 200
$testExecute = oci_execute($testParse); } } //LINE 201
然而,我找不到我所缺少的东西。我已经待了一个小时,这非常令人沮丧。是否有可以将源代码发布到有助于发现这些错误的工具?