JavaScript Editor Javascript debugger     Website design 

mysqli_close

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

Procedural style:

Object oriented style (method):

mysqli {
  bool close();
}

Closes a previously opened database connection.

Parameters

link

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

Return Values

Returns TRUE on success or FALSE on failure.