free result? , close connection?
| From: | Nicholas W. Miller | Date: | Sat, 28 Oct 2000 21:29:34 +0000 |
| Subject: | free result? , close connection? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4013@lists.php.net to get a copy of this message | ||
Hello,
I'm a PHP/SQL newbie developing a MySQL db using PHP on a UNIX box
running Apache.
I have notice in a lot of tutorials, PHP code ends with:
mysql_free_result($sql_result);
mysql_close($connection);
?>
Is it crucial to include this at the end of every PHP file that opens a
db connection and has a SQL statement? What if it isn't included?
Thanks for the help!
Nick