PHP 4.0 Bug #7750 Updated: mysql_free_result calling a valid result index and invalid result index

From: Date: Sat, 11 Nov 2000 02:17:24 +0000
Subject: PHP 4.0 Bug #7750 Updated: mysql_free_result calling a valid result index and invalid result index
Groups: php.dev 
Request: Send a blank email to php-dev+get-37721@lists.php.net to get a copy of this message
ID: 7750 Updated by: sniper Reported By: saladad@transformingt.com Status: Closed Bug Type: MySQL related Assigned To: Comments: -- mysql_(db_)query() doesn't return a result resource with a DELETE, INSERT, or UPDATE statement, just success or failure. -- Ignacio Vazquez-Abrams Previous Comments: --------------------------------------------------------------------------- [2000-11-10 12:45:18] saladad@transformingt.com When using mysql_free_result(), I get the following error: "Warning: Supplied argument is not a valid MySQL result resource in whatever.php on line ..." This occurs when updating information in a database. The information is updated just fine and the result index is a non-zero integer. The only problem seems to be in freeing the result. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7750

« previous php.dev (#37721) next »