Re: Proper procedure to close mysql queries!
| From: | JeRRy | Date: | Wed, 22 Mar 2006 03:07:21 +0000 |
| Subject: | Re: Proper procedure to close mysql queries! | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41572@lists.php.net to get a copy of this message | ||
Hi Chris,
Thanks for that, always wondered. So what does just using '?>' do than?
Must close eventually but I am guessing by using that as a close the connection times out after a
set period of time and the 'pid' is killed, correct?
J
---chris said---
mysql_close closes a database connection.
What do you mean by a php query to mysql ?
If you want to free memory from a mysql query result, mysql_free_result
does that.
--
Postgresql & php tutorials
http://www.designmagick.com/