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 19:50:44 +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 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-195108@lists.php.net to get a copy of this message
Why waste time by turning this into an attack? (A rhetorical question, please don't bother addressing it.) I'm pressing for a better answer now because the workaround you posted simply ignores the problem and because you implied that you got these functions to work -- presumably without having to mute warnings (otherwise, your solution is faulted). Just take a few minutes of your valuable time to read the code I posted. I challenge you to find fault with my management of the resource handles. In the end, we may both be better programmers. -- William Kimball, Jr. "Programming is an art-form that fights back!" "John Nichel" <jnichel@by-tor.com> wrote in message news:41322C66.8040504@by-tor.com... : William wrote: : : > If you read the code I posted, you'd see that I am sending valid resources. :) As I explained, I lifted the technique : > directly from the PHP documentation. Now, if you can see a bug in my implementation of this technique, by all means, : > please point it out. : > : : "Please limit replies to constructive workarounds." : : Well, since you *know* that all your resources are valid, why don't you : echo out mysql_error() after you make a mysql function call. : Constructive enough for you? : : -- : By-Tor.com : It's all about the Rush : http://www.by-tor.com

« previous php.general (#195108) next »