mSQL Funciones
PHP Manual

msql_close

(PHP 4, PHP 5)

msql_closeClose mSQL connection

Descripción

bool msql_close ([ resource $link_identifier ] )

msql_close() closes the non-persistent connection to the mSQL server that's associated with the specified link identifier.

Using msql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution. See also freeing resources.

Parámetros

link_identifier

La conexión mSQL. De no ser especificada, el último enlace abierto por msql_connect() es asumido. Si no se encuentra dicho enlace, la función intentará establecer un nuevo enlace como si msql_connect() fuese invocado, y lo utiliza.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Ver también


mSQL Funciones
PHP Manual