Re: warning

From: Date: Tue, 17 Oct 2000 12:55:23 +0000
Subject: Re: warning
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20605@lists.php.net to get a copy of this message
Well, if you're sure the code is working fine just ignore the errormessage. Another trick maybe setting the errorlevel in PHP to a lower level. error_reporting(1); will work for that page, or try to edit your php.ini. Tijmen On Tue, 17 Oct 2000, tony wrote: > Hello people! > > I have a problem with mysterious warning.. > I have following code: > > $sql = "select * from some_table where ID=$ID"; > $results = mysql_query($sql); > $array = mysql_fetch_rows($results); > . > . > . > above code is working perfectly, but it gives following warning: > Warning: Supplied argument is not a valid MySQL result resource in > ./mysql.php3 on line 166 > I can't seem to find anything wrong.. Please let me know if you have > encountered such warning. > Again, the code seems to be working fine and generating correct outputs. > > > Thanks! > > > Tony > -- Customer: I'm running Windows '98 Tech: Yes. Customer: My computer isn't working now. Tech: Yes, you said that.

« previous php.general (#20605) next »