> What's happen if when I used a query, I don't do that : > > mysql_close($connection);
Well there's a number of issues: - First and foremost, if your connection timeout is at it's default setting (8 hours)....you'll run out of connections quickly in MySQL if scripts like this are run frequently - If you're doing more in the script (and not intending to use mysql anymore in the script), php will be hogging more resources on the system than it should. Also mysql will report an error in the logs when the connection finally times out - You'll sleep better at night using mysql_close() =) Really the question to ask is why shouldn't you use mysql_close()? Overall it is better for your system and relieves you of worrying about any potential memory hogging or MySQL connection rejections. Sincerely, Craig Vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php