Re: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

From: Date: Mon, 09 Jun 2003 10:40:33 +0000
Subject: Re: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-150733@lists.php.net to get a copy of this message
Hi Janet, I dont have know how in php. I inserted the function mysql_error() in my code and it dont return any message! Thanks Marcelo > This means that when you did: > > $result = mysql_query($sql); > > $result did not end up with a valid resource in it. Then, when you do the fetch row command using $result, it fails with this message. In general, the reason in that > there is something wrong with the query so it either fails or doesn't return any results. You can use mysql_error() to find out what went wrong if it failed. > > Janet --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.488 / Virus Database: 287 - Release Date: 5/6/2003

« previous php.general (#150733) next »