Home > PHP > Function > mSQL > msql_close()

msql_close()

msql_close - Close mSQL connection

Syntax

bool msql_close (resource $link_identifier)

Arguments

  • link_identifier - The mSQL connection. If not specified, the last link opened by msql_connect() is assumed. If no such link is found, the function will try to establish a link as if msql_connect() was called, and use it.

Description

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

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.