|
oci_new_connectConnect to the Oracle server using a unique connection Description
resource oci_new_connect
( string
$username
, string $password
[, string $connection_string
[, string $character_set
[, int $session_mode
]]] )Establishes a new connection to an Oracle server and logs on. Unlike oci_connect and oci_pconnect, oci_new_connect does not cache connections and will always return a brand-new freshly opened connection handle. This is useful if your application needs transactional isolation between two sets of queries. Parameters
Return Values
Returns a connection identifier or ExamplesThe following demonstrates how you can separate connections. Example #1 oci_new_connect example
<?php See oci_connect for further examples of parameter usage. See Also
|