I am trying to call a stored procedure that is fed by an input form. I have verified in SQL Developer that my stored procedure works and I can input data. I've also copy / pasted the stored procedure name so I know it is named correctly. Everything I have learned about php and databases I've basically learned this week (and this is the last assignment I have to complete!) So if someone can help me I would really appreciate it.
Warning: oci_execute() [function.oci-execute]: ORA-06576: not a valid function or procedure name in /home/rskor2/public_html/Asst9/insertCustomer.php on line 73
Error Save [ORA-06576: not a valid function or procedure name]
<?
$connection = OCILogon("xxx","xxx","xxx");
if (!$connection) {
echo "Couldn't make a connection.";
exit;
} else {echo "You have connected to the UIS Oracle Database! <p>";}
$strSQL = "CALL InsertCustomerAndInterests(inputLName, inputFName, inputArea, inputPhone, inputEmail, inputNat)";
$objParse = oci_parse($connection, $strSQL);
$objExecute = oci_execute($objParse, OCI_DEFAULT);
if($objExecute)
{
oci_commit($connection); //*** Commit Transaction ***//
echo "Save completed.";
}
else
{
oci_rollback($connection); //*** RollBack Transaction ***//
$e = oci_error($objParse);
echo "Error Save [".$e['message']."]";
}
oci_close($connection);
?>
Please and thanks...
Renee