is it necessary to use mysql_close() at the end of a query in PHP?
See Question&Answers more detail:osis it necessary to use mysql_close() at the end of a query in PHP?
See Question&Answers more detail:osIn 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.
More reading about that here