August 30th, 2013, 01:13 AM
Close Database connection
Is it necessary to close database connection in mysqli?
If it is necessary, which function will be use
August 30th, 2013, 01:33 AM
You just need to read the manual . The first of the user notes there explains it all with an excerpt taken from the Zend website.
The basics are... You don't have to because all connections are automatically closed at the end of a scripts execution, but you can close them yourself to free up resources if required.
August 30th, 2013, 07:34 AM
Originally Posted by Catacaustic