mysqli_close

Closes a previously opened database connection (PHP 5)
bool mysqli_close ( mysqli link )

Procedural style:

Object oriented style (method):

mysqli {
  bool close();
}

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

返回值

如果成功则返回 TRUE,失败则返回 FALSE