Re: Close A Databse Connection
| From: | Andrey Hristov | Date: | Fri, 26 Jul 2002 19:42:31 +0000 |
| Subject: | Re: Close A Databse Connection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109861@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Jay Blanchard" <jay.blanchard@niicommunications.com>
To: <php-general@lists.php.net>
Sent: Friday, July 26, 2002 10:22 PM
Subject: [PHP] Close A Databse Connection
> Well, it's Friday afternoon and the pre-pub run debates have started :^]
>
> The choice of arguement today is born of the fact that I advised a newbie
to
> always use mysql_close() to close the connection to the database. It's
good
> form and will cover any ills where the database connection fails to close
> for some other reason (say the user stops the page from loading after the
> connection is made). I know that it is not required, but always being
PHP will close the connection automatically will be closed and all
information cleared.
> competitive I thought I would turn to the group for a concensus, whether I
> am right or wrong.
>
> Thoughts?
>
> Jay
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>