Do I only need it after the script showed a list of results? Is it necessary to use it after a form submittion?
I have a script like:
$sql = "UPDATE blah...";
$sql = "INSERT blah...";
$result = mysql_query($sql);
echo "<p>Record updated/edited!</p>";
But when I put mysql_free_result ($result) at the end of that, it complains that "Supplied argument is not a valid MySQL result resource"
Is it because I don't need it? Or did I just put that flush memory thing in the wrong place?