I can successfully call stored procedures, but am trying to call an oracle function. It fails on the OCIExecute.
$query="select ps.Init_Payment('SJAIFMC', 'PA218', '1626', '510003', 'PA', '51') into ls_result from dual";
$stmt = OCIParse($conn, $query) or die ('Can not parse query');
OCIExecute($stmt) or die ('Can not Execute statment');
while (ocifetch($stmt)){
echo ociresult($stmt,"ls_result");
}
Any suggestions would be appreciated.