previousDB_common::createSequence() (Previous) (Next) DB_common::dropSequence()next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

DB_common::disconnect()

DB_common::disconnect() – データベースとの接続を切断する

Synopsis

boolean disconnect ( )

Description

データベースとの接続を切断します。

Return value

boolean - Returns TRUE on success, FALSE on failure.

Note

This function can not be called statically.

Example

disconnect() の使用法

<?php
require_once 'DB.php';

$db =& DB::connect('pgsql://someuser:apasswd@localhost/thedb');
if (
PEAR::isError($db)) {
    die(
$db->getMessage());
}

$db->disconnect();
?>
previousDB_common::createSequence() (Previous) (Next) DB_common::dropSequence()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.