Does mysql_query() or die()
leave open mysql connection?
My thought is that it calls die()
but it never calls mysql_close()
on the connection...
Thanks.
From the mysql_close docs:
Using mysql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution. See also freeing resources
http://php.net/manual/en/function.mysql-close.php
Using mysql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With