Does mysql_query() or die() an open mysql connection? I thought it calls die() , but it never calls mysql_close() on the connection ...
mysql_query() or die()
die()
mysql_close()
Thanks.
From mysql_close docs:
The use of mysql_close () is usually not required, as non-persistent open links automatically close at the end of the script. See also release of resources.
http://php.net/manual/en/function.mysql-close.php
Using mysql_close () is usually necessary, since fake open links are automatically closed at the end of the script.
Nope.Read the manual :