|
Main (PHP)
3rd Party Streams
Resources
Code Snippets
Affiliates
|
|
|
|
| |
DB_common::disconnect()DB_common::disconnect() -- Disconnects from a database Description
Disconnects from a database
Return value
boolean - Returns TRUE on success, FALSE on failure.
NoteThis function can not be called
statically. ExampleExample 26-1. Using disconnect() <?php
require_once 'DB.php';
$db =& DB::connect('pgsql://someuser:apasswd@oxyscrip.ipowermysql.com/thedb');
if (DB::isError($db)) {
die($db->getMessage());
}
$db->disconnect();
?> |
|
|
|
|
| |
|
|
|
Top Sponsor
Sponsors
Sponsors
Advertisting
Affiliates
|
|