nope.
see my previous reply
-Original Message-
From: Bas Jobsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 10:11 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] MYSQL/PHP what is the difference between unset()
and mysql_free_result() ?
> And how can i free the d
> 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 Mail
: Wednesday, September 05, 2001 4:46 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] MYSQL/PHP what is the difference between unset()
and mysql_free_result() ?
Hello,
> unset() simply deletes the pointer to the data without releasing the space
> held by the data.
> mysql_free_result() rel
Hello,
> unset() simply deletes the pointer to the data without releasing the space
> held by the data.
> mysql_free_result() releases the data storage pointed-to by the $result
> pointer.
> This is important because $result could be pointing-to a dataspace
> containing a large number or rows ret
unset() simply deletes the pointer to the data without releasing the space
held by the data.
mysql_free_result() releases the data storage pointed-to by the $result
pointer.
This is important because $result could be pointing-to a dataspace
containing a large number or rows returned by the mysql_q