PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mysqli::commit> <mysqli::character_set_name
Last updated: Fri, 22 Aug 2008

view this page in

mysqli::close

mysqli_close

(PHP 5)

mysqli::close -- mysqli_closeCloses a previously opened database connection

Descripción

Object oriented style (method):

bool mysqli::close ( void )

Procedural style:

bool mysqli_close ( mysqli $link )

Closes a previously opened database connection.

Lista de parámetros

link

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

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.



add a note add a note User Contributed Notes
mysqli::close
win at alinto dot com
21-May-2008 11:52
There's nothing here about connexions automatically claused at the end of a script. About that, a little note from devzone.zend.com :

"Open connections (and similar resources) are automatically destroyed at the end of script execution. However, you should still close or free all connections, result sets and statement handles as soon as they are no longer required. This will help return resources to PHP and MySQL faster."

mysqli::commit> <mysqli::character_set_name
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites