Re: MySQL close connection, what's the purpose?
| From: | tedd | Date: | Fri, 31 Mar 2006 22:49:47 +0000 |
| Subject: | Re: MySQL close connection, what's the purpose? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233021@lists.php.net to get a copy of this message | ||
At 10:30 PM +0200 3/31/06, Martin Zvarík wrote:
Hi, I was wondering why is it necessary to use mysql_close() at the end of your script. If you don't do it, it works anyways, doesn't it? MZMZ: I always close the connection right after my query -- force of habit. It's like leaving the toilet seat up, it's only going to get you into trouble. tedd -- -------------------------------------------------------------------------------- http://sperling.com