Re: mysql function

From: Date: Thu, 14 Dec 2000 08:18:36 +0000
Subject: Re: mysql function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30266@lists.php.net to get a copy of this message
Calling mysql_close() will free the memory. You would only need to call either if you have a lot more stuff to do in your PHP script -- PHP will clean everything up at the end for you anyway. Just call it mommy. :-) Actually, PHP 4 will even clean up sooner than at the end if it can determine that you are not using the data anywhere later in the script. ----- Original Message ----- From: "Jon Rosenberg" <php@columbusinteractive.com> Newsgroups: php.general Sent: Wednesday, December 13, 2000 5:12 PM Subject: [PHP] mysql function > if I call mysql_close, does it free memory the same as if I call > > mysql_free_result (); then call > mydql_close(); is doing both better than just closing the connection? > > Jon > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#30266) next »