| Posted by lawrence k on 08/17/06 19:48 
I've this class method, which makes sure I've got a variable that is aresource:
 
 function close() {
 if (is_resource($this->datastoreResultsPointer)) {
 mysql_free_result($this->datastoreResultsPointer);
 mysql_close();
 }
 }
 
 all the same, I'm getting these PHP errors:
 
 
 Warning: mysql_free_result(): 286 is not a valid MySQL result resource
 in
 /home/httpd/vhosts/monkeyclaus.org/httpdocs/media/audio/pdsIncludes/McDatastoreResultsMySql.php
 on line 89
 
 Warning: mysql_close(): no MySQL-Link resource supplied in
 /home/httpd/vhosts/monkeyclaus.org/httpdocs/media/audio/pdsIncludes/McDatastoreResultsMySql.php
 on line 90
 
 
 How is that possible?
 [Back to original message] |