PHP 手册
上一页 |  | 下一页

# mysqli_close

(PHP 5)

mysqli_close

(no version information, might be only in CVS)

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

## 说明

Procedural style:

bool mysqli_close ( mysqli link )

Object oriented style (method):

class mysqli {
bool close ( void )
}

Closes a previously opened database connection.

## 参数

`link`

  Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()

## 返回值

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

## 参见

mysqli_connect()
mysqli_init()
mysqli_real_connect()

上一页 | 起始页 | 下一页
mysqli_client_encoding | 上一级 | mysqli_commit