> > 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_query().  You
WANT
> > to recover this dataspace.

What about an overwrite? Will this also overwrite the dataspace?
b.e.:
$result=mysql_query($query1);
mysql_free_result($result);
$result=mysql_query($query2);
mysql_free_result($result);

Does the first  mysql_free_result make any sense here?

Tnx,

Bas Jobsen




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to