Re: mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

From: Date: Sun, 29 Aug 2004 18:09:14 +0000
Subject: Re: mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-195094@lists.php.net to get a copy of this message
I can accept that as a workaround, but I was hoping to do more than merely mute the warnings. Is there a way to truly use the connection and result set handles? Can PHP truly utilize it's own connection resource handles in code? Bottom Line: This is going to make a real mess when multiple database connections need to be used and when multiple query results need to be managed simultaneously. -- -- William Kimball, Jr. "Programming is an art-form that fights back!" "John Nichel" <jnichel@by-tor.com> wrote in message news:41321741.8080405@by-tor.com... : William wrote: : : > Since posting the original copy of this message -- which, in 10 hours, never appeared on this newsgroup -- I upgraded : > from PHP version 4.3.4 to 5.0.1. Unfortunately, the same exact problem persists. I'm starting to believe this is a bug : > in PHP's MySQL memory management functions. : > : > Original Post: : > ------------- : > I've set up several tests to try to find some way to get the mysql_close() function to work without throwing warning: : > : > Warning: mysql_close(): ## is not a valid MySQL-Link resource : > (where ## is some number like 18 or 39) : <snip> : : @mysql_close(); : : -- : By-Tor.com : It's all about the Rush : http://www.by-tor.com

« previous php.general (#195094) next »