Use it in your code; it'd be a good programming habit to get into.
--John Holmes...
> -Original Message-
> From: David McInnis [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] closing mysql connections
>
> How necessary is this?
Very.
> Don't connections close automatically after the page finishes executing?
Correct. All variables are released and all connections are closed
automatically by PHP upon script completion.
> What are the general rules for closing connections and freeing query
>
How necessary is this? Don't connections close automatically after the
page finishes executing?
What are the general rules for closing connections and freeing query
results?
David McInnis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo