Re: MYSQL/PHP what is the difference between unset() and mysql_free_result() ?
| From: | Bas Jobsen | Date: | Thu, 06 Sep 2001 15:10:42 +0000 |
| Subject: | Re: MYSQL/PHP what is the difference between unset() and mysql_free_result() ? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12225@lists.php.net to get a copy of this message | ||
> And how can i free the data-space from a string or somting like that?
> b.e.
> $string="a very long string";
> free($string);#?????????
> #could i use mysql_free_result($string);
Maybe I can use: unset($string="");
or unset($array=array()); to free the data-space also