RE: [PHP-DB] MYSQL/PHP what is the difference between unset() and mysql_free_result() ?
| From: | Rick Emery | Date: | Thu, 06 Sep 2001 16:05:05 +0000 |
| Subject: | RE: [PHP-DB] MYSQL/PHP what is the difference between unset() and mysql_free_result() ? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12228@lists.php.net to get a copy of this message | ||
nope.
see my previous reply
-----Original Message-----
From: Bas Jobsen [mailto:bas@startpunt.cc]
Sent: Thursday, September 06, 2001 10:11 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] MYSQL/PHP what is the difference between unset()
and mysql_free_result() ?
> 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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net