I have a simple connect to Oracle, via the OCILogon. However, I always get this error message:
I try a simple connect to Oracle8i via the OCILogon function, but I always get the error message below:
Warning: _oci_open_server: Error while trying to retrieve text for error ORA-12154 in /usr/local/apache/htdocs/OIC.php on line 6
invalid
Below is my coding:
<pre>
<?
$DBconnect = OCILogon('user','pass','db');
if ($DBconnect) echo "connected";l
else echo "Can't establish connection";
?>
</pre>
anything wrong with my syntax above?
Thanks
Louis