Mysqli_close

  1. Mysqli_close() Expects Exactly 1 Parameter
  2. Mysqli_close($con)
  1. Definition and Usage The close / mysqliclose function closes a previously opened database connection.
  2. Mysqliclose (mysqli $mysql): bool Closes a previously opened database connection. Open non-persistent MySQL connections and result sets are automatically destroyed when a PHP script finishes its execution. So, while explicitly closing open connections and freeing result sets is.
Connection

(PHP 5)

mysqli_close

(no version information, might be only in CVS)

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

Description

Mysqliclose 함수는 mysqliconnect 함수를 통해 연결한 객체의 연결을 해제하는데 사용하는 함수입니다. PHP mysqliconnect 사용방법 mysqliconnect ( 아이피, 아이디, 비밀번호, DB명, 포트 ).

Procedural style:

Php url encode string

The mysqliclose function accepts a MySQL function object (previously opened) as a parameter, and closes it. You cannot close persistent connections using this function. Step 1: Connection with Database. The dbConn.php file which is used to connect with the database. The dbConn.php is a common file which is connected with MySQL database. You can use this file anywhere where you want to perform a task with the database.

bool

Mysqli_close() Expects Exactly 1 Parameter

Parametermysqli_close ( mysqli link )
Mysqli_close

Object oriented style (method):

class mysqli {
bool close ( void )
}Mysqli_close

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

Return Values

Mysqli_close($con)

Returns TRUE on success or FALSE on failure.

See Also

Mysqli_close

mysqli_connect(), mysqli_init() and mysqli_real_connect().


mysqli_client_encodingmysqli_commit
Last updated: Tue, 19 Sep 2006