Note: This manual is provided for your convenience only - this is not the official source and may not be 100% up to date.

mysqli_close

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 )

}

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.