note 89925 added to function.oci-close
| From: | ajitsingh4uatgmaildotcom at osu1 dot php dot net | Date: | Sun, 29 Mar 2009 10:31:14 +0000 |
| Subject: | note 89925 added to function.oci-close | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152575@lists.php.net to get a copy of this message | ||
The PHP engine automatically closes the database connection at the end of the script
unless a persistent connection was made. If you want to explicitly close a database
connection, you can call the oci_close() OCI function with the connection
identifier returned by the oci_connect() call. For example:
<?php
$conn = oci_connect('hr', 'hr', '//localhost/XE');
...
oci_close($conn);
...
?>
----
Server IP: 69.147.83.197
Probable Submitter: 203.193.167.35 (proxied: 127.0.0.1)
----
Manual Page -- http://www.php.net/manual/en/function.oci-close.php
Edit -- https://master.php.net/note/edit/89925
Del: integrated -- https://master.php.net/note/delete/89925/integrated
Del: useless -- https://master.php.net/note/delete/89925/useless
Del: bad code -- https://master.php.net/note/delete/89925/bad+code
Del: spam -- https://master.php.net/note/delete/89925/spam
Del: non-english -- https://master.php.net/note/delete/89925/non-english
Del: in docs -- https://master.php.net/note/delete/89925/in+docs
Del: other reasons-- https://master.php.net/note/delete/89925
Reject -- https://master.php.net/note/reject/89925
Search -- https://master.php.net/manage/user-notes.php