Re: Oracle syntax

From: Date: Thu, 10 Jun 2004 21:52:25 +0000
Subject: Re: Oracle syntax
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-34710@lists.php.net to get a copy of this message
Rafi Sheikh wrote:
Hi list. I am a newbie and would like to ask if anyone could give me the proper syntax for connecting with oracle DB. For example with MySQL it is: mysql_connect..., mysql_query... For MS SQL Server: mssql_connect..., mssql_query...
There are various examples in the PHP documentation of the oci8 functions at http://www.php.net/manual/en/ref.oci8.php (The "oci8" functions are preferred to the older "oracle" functions) There are a couple of Oracle-PHP FAQ's on http://otn.oracle.com/tech/opensource/index.html. For a specific connection example see http://otn.oracle.com/tech/opensource/php_faq.html#CONNECT Chris

« previous php.db (#34710) next »