mysql_query() 或 die()
是否保持打开的 mysql 连接?
我的想法是它调用 die()
但它从不在连接上调用 mysql_close()
...
谢谢。
最佳答案
来自mysql_close文档:
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
关于php - "mysql_query() or die()"是否保持打开的 mysql 连接?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6111670/