I think I am a dork.
How do I close a MySQL result set to free memory?
Given something like this:
$gsql = "Select * from resources where queryName = 'Production';";
$myresult = mysql_query($gsql) or die('Cannot execute Query: ' . mysql_error());
$Row = mysql_fetch_assoc($myresult);
if ($Row == true) { $_SESSION['PRODUCTION'] = $Row['queryValue']; }
else { $_SESSION['PRODUCTION'] = "TRUE"; }
How do I free up $myresult and $Row?
-ML
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php