Re: MySQL Error.

From: Date: Fri, 17 Aug 2001 09:09:17 +0000
Subject: Re: MySQL Error.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63159@lists.php.net to get a copy of this message
On Fri, 17 Aug 2001 16:49, ERISEN, Mehmet Kamil wrote: > Hello All, > I receive the following warning message. When I reload the page, the > message is the error message does not show up again. Funny thing is, > that there are other parts of the page generated from the same database > using the same mysql_pconnect and they are fine. I am using a standard > $sql mysql_query($sql) mysql_fetch_array($result) kind of command, > nothing too fancy. Did anybody have a similar experince? > > Warning: Supplied argument is not a valid MySQL result resource in > /xxxxxxx/xxxxxxx//index.php on line 45 > > > thanks. Use mysql_error() after your call to mysql to give you the error that is causing your query to fail. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Dislexics of the world, UNTIE!

« previous php.general (#63159) next »