Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/257.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用oracle中的php包_Php_Html_Oracle - Fatal编程技术网

使用oracle中的php包

使用oracle中的php包,php,html,oracle,Php,Html,Oracle,我似乎不知道为什么我不能使用 (更改表格。添加环境管理计划) 在Oracle11g中,包到表EMP。我对php和oracle还是新手。 Html代码: `<table > <form action="http://alfred-pc:7777/webone.php" method="get"> <td><input type="text" name="ename" placeholder = "EX: Alfred , Elie"><br &

我似乎不知道为什么我不能使用 (更改表格。添加环境管理计划) 在Oracle11g中,包到表EMP。我对php和oracle还是新手。 Html代码:

`<table >
<form action="http://alfred-pc:7777/webone.php" method="get">
<td><input type="text" name="ename" placeholder = "EX: Alfred , Elie"><br
</td></tr>
声明:

$s = oci_parse($orclConn, " BEGIN ALTER_TABLE_SCOTT.ADD_DEL_EMP 
('".$EMPNO."','".$HIREDATE."','".$SAL."','".$COM."',
'".$ENAME."','".$JOB."','".$MGR."','".$DEPTNO."','".$WWHAT."'); end;");
oci_execute($s);
解析:

$stmtLastParsed   = ociparse($orclConn, $s);

if (!$stmtLastParsed)          {
 print ocierror($orclConn);    }
执行:

$stmtLastExecuted = ociexecute($stmtLastParsed, OCI_COMMIT_ON_SUCCESS);       
if (!$stmtLastExecuted) {
   print ocierror($stmtLastParsed);
                        }  
?>
</td></tr>`
$stmtLastExecuted=ociexecute($stmtlastarsed,OCI\u COMMIT\u ON\u SUCCESS);
如果(!$stmtlastexed){
打印错误($stmtLastParsed);
}  
?>
`

除了结尾缺少一个>。出了什么问题?您是否收到任何错误消息?你能在SQLPLUS中使用PLSQL运行这个过程吗?我目前正在使用Notepad++编写代码。我在oracle sql developer 11g上有数据库。我似乎不知道如何在oracle中运行我的脚本。(html和php标记被忽略,给出了这个错误:unknow命令)我已经能够检索我的表并在网站上打印,但是修改它们不起作用。ALTER_table_SCOTT.ADD_DEL_EMP有正确的参数。除了最后缺少>之外。出了什么问题?您是否收到任何错误消息?你能在SQLPLUS中使用PLSQL运行这个过程吗?我目前正在使用Notepad++编写代码。我在oracle sql developer 11g上有数据库。我似乎不知道如何在oracle中运行我的脚本。(html和php标记被忽略,给出了这个错误:unknow命令)我已经能够检索我的表格并在网站上打印,但是修改它们不起作用。ALTER_table_SCOTT.ADD_DEL_EMP有正确的参数。
$stmtLastParsed   = ociparse($orclConn, $s);

if (!$stmtLastParsed)          {
 print ocierror($orclConn);    }
$stmtLastExecuted = ociexecute($stmtLastParsed, OCI_COMMIT_ON_SUCCESS);       
if (!$stmtLastExecuted) {
   print ocierror($stmtLastParsed);
                        }  
?>
</td></tr>`