use of mysql_free_result (was Re: [PHP] Efficiency)
| From: | Support @ Fourthrealm.com | Date: | Thu, 19 Sep 2002 00:17:36 +0000 |
| Subject: | use of mysql_free_result (was Re: [PHP] Efficiency) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116813@lists.php.net to get a copy of this message | ||
Rick, or anyone,
Based on what you said below, can you describe for me when the mysql_free_result tag should be used, and when it is not necessary?
I'm fluent in other web languages (iHTML, ASP), but am fairly new to PHP, so I'm still learning the intricacies of the language, and the best way to use it
Many thanks,
Peter
At 04:02 PM 9/18/2002 -0600, you wrote:
If you aren't doing anything else in a script, mysql_free_result is not needed in a script like this because the result set will be cleaned up by PHP when the script ends.- - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions pbechard@fourthrealm.com http://www.fourthrealm.com Tel: 519-739-1652 - - - - - - - - - - - - - - - - - - - - -