use of mysql_free_result and unset
| From: | Tobias Strau� | Date: | Fri, 07 Sep 2001 08:54:11 +0000 |
| Subject: | use of mysql_free_result and unset | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66362@lists.php.net to get a copy of this message | ||
When do I have to use mysql_free_result($res). Is it good to use it with
every query or only if the result is very big (what's the size of the result
I shoud use mysql_free_result?).
What's about the use of unset($var). Is this good to save RAM to make my
script run faster?
Do I have to do this also when I'm at the end of a function or is it
automatically done by leaving this function if it's not set global?