RE: [PHP] closing mysql connections

2002-06-14 Thread Lazor, Ed


 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
 results?

General rule:  Thank PHP for taking care of it for you.

-Ed

 

This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law.  If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message.  If you have received this message in error, please immediately
advise the sender by reply email and delete the message.  Thank you very
much.   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] closing mysql connections

2002-06-14 Thread John Holmes

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?  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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php