is it necessary to use mysql_close() at the end of a query in PHP?
In the manual :
mysql_close() closes the non-persistent connection to the MySQL server that's associated with the specified link identifier. Using mysql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution.
mysql_close() closes the non-persistent connection to the MySQL server that's associated with the specified link identifier.
Using mysql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution.
More reading about that here
1.4m articles
1.4m replys
5 comments
57.0k users