I'm trying to run a very simple Oracle procedure from PHP, using the following statement:
$sql = 'exec procedureName(param1, param2)';
$sql = oci_parse($connection, $sql); oci_execute($sql);
Running this in Oracle SQL developer returns a successful 'anonymous block completed' message, but running this via PHP returns an 'ORA-00900: invalid SQL statement' error.
Is there anyway to run this procedure from PHP? Many thanks