Creating a Database Connection |
||||||||
The db_connect() function provides two parameters:
The db_connect() function returns a database connection identifier, or false on error. The db_connect() function uses ORA_CON_DB for connecting to the target database instance. Note: After each page request, a database connection opened with the oci_connect() call is implicitly closed. If you want, you can explicitly close the database connection by calling the oci_close() function.
|