PHP Dokumentation: Mysqli close
12. Januar 2010 von werner
mysqli::close
mysqli_close
(PHP 5)
mysqli::close — mysqli_close — Closes a previously opened database connection
Beschreibung
Object oriented style (method):
bool mysqli::close ( void )
Procedural style:
Closes a previously opened database connection.
Parameter-Liste
- link
Nur bei prozeduralem Aufruf: Ein vonmysqli_connect() oder mysqli_init()zurückgegebenes Verbindungsobjekt.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Beispiele
See mysqli_connect().
Siehe auch
- mysqli_connect() – Open a new connection to the MySQL server
- mysqli_init() – Initializes MySQLi and returns a resource for use with mysqli_real_connect()
- mysqli_real_connect() – Opens a connection to a mysql server