Re: Problem with MySQL.

From: Date: Thu, 12 Oct 2000 17:31:34 +0000
Subject: Re: Problem with MySQL.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19851@lists.php.net to get a copy of this message
On Thu, 12 Oct 2000, Pascal Girard wrote: > Hi, > > I have upgraded php to version 4.0.2 (debian package distribution) this > morning and since the upgrade, when I do an UPDATE, DELETE or INSERT > through mysql_db_query, the function returns an error and php outputs a > warning of the type: > Warning: MySQL: Unable to save result set in functions/replace.php on > line 72 > > Is there a way to disable the warning? Find line 72 and put an @ infront of your mysql_query ie $result = @mysql_query("DELETE FROM here WHERE this = 'that'", $dbConnection); The @ supresses warnings. -- James Atkinson ----------------------------------------------------------------- James Atkinson 100world Technical Developer 512-1529 West 6th Avenue phone: +1-604-637-8122 Vancouver, BC, V6J 1R1 fax: +1-604-742-1770 Canada email: james.atkinson@100world.com http://www.100world.com +---------------------------------------------------------------+ | This message may contain confidential and/or privileged | | information. If you are not the addressee or authorized to | | receive this for the addressee, you must not use, copy, | | discolse or take any action based on this message or any | | information herein. If you have received this message in | | error, please advise the sender immediately by reply e-mail | | and delete this message. Thank you for you cooperation | +---------------------------------------------------------------+

« previous php.general (#19851) next »