Does anyone know anything about this?

-----Original Message-----
From: Jordan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 4:58 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] Re-using query result identifiers?



Does re-using a link identifier name free the resources used by the previous
one?
Consider this code:

$result = mysql_result($query1);
$result = mysql_result($query2);

Is the memory used by $query1's results freed/overwritten by $query2's
results?
Even further, does calling mysql_free_results as below accomplish anything,
or is it a waste?

$result = mysql_result($query1);
mysql_free_results($result);
$result = mysql_result($query2);

Love,
Tom Yeeto Web Lackey
http://www.tumyeto.com/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to