To Close Or Not To Close

admin

Administrator
Staff member
When is it appropriate to use mysql_close?

The manual says:
Using mysql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution.

Note: mysql_close() will not close persistent links created by mysql_pconnect().

/Christian
 
Back
Top