|
mysql_closeClose MySQL connection Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
Description
bool mysql_close
([ resource
$link_identifier = NULL
] )
mysql_close closes the non-persistent connection to
the MySQL server that's associated with the specified link identifier. If
Using mysql_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. Parameters
Return Values
Returns Examples
Example #1 mysql_close example
<?php The above example will output: Connected successfully Notes
See Also
|