Wh1t3projects' PHP framework. Small PHP framework for building web apps and websites
Syntax: SQL_close([object $link])
Close an SQL connection
Parameters
OPTIONAL $link
The SQL ressource identifier returned by SQL_connect
Return values
TRUE
if the connection was closed. FALSE
otherwise or if an error occur.
Examples:
Close an SQL connection by using the ressource identifier stored in driver’s memory
SQL_close();
Close an SQL connection by specifying the ressource identifier
SQL_close($link);
Additional information
This function will return FALSE
if the provided ressource identifier is invalid or if the connection is already closed. Please check the framework log for more details.