PHP Manual
后退 |  | 前进

# mysqli_close

(PHP 5)

mysqli_close

(no version information, might be only in CVS)

mysqli->close -- Closes a previously opened database connection

## Description

Procedural style:

bool mysqli_close ( mysqli link )

Object oriented style (method):

class mysqli {
bool close ( void )
}

The mysqli_close() function closes a previously opened database connection specified by the link parameter.

## 返回值

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

## 参见

mysqli_connect(), mysqli_init() 和 mysqli_real_connect().

后退 | 起点 | 前进
mysqli_client_encoding | 上一级 | mysqli_commit