Re: MySQL problem...

From: Date: Thu, 26 Apr 2001 08:57:47 +0000
Subject: Re: MySQL problem...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-50438@lists.php.net to get a copy of this message
Generally spoken, echo the SQL-Statement, and paste it in your local MySql Client (e.g. MySql-Font). These Frontends give you a better error, and you´ll find the problem in seconds. (hope so) ""Peter Houchin"" <peterh@vfsa.com.au> schrieb im Newsbeitrag news:NFBBJNAGDIPHLCGPBLKDGECFCEAA.peterh@sunrentals.com.au... > some code would be nice to have a look at :) > > Other than that, check table names, database names, also your result lines, I've found i get that error by not calling a result or calling the incorrect table/database > > Peter > > -----Original Message----- > From: Brian Rue [mailto:dwjw@QuixNet.net] > Sent: Thursday, April 26, 2001 10:28 AM > To: php-general@lists.php.net > Subject: [PHP] MySQL problem... > > > MySQL doesn't like me.... > > Sometimes, my pages that connect to the database get the error "Warning: > Supplied argument is not a valid MySQL result resource..." repeated over and > over again (something like 1000 times...) > > What's causing this error? Obviously, PHP isn't getting a result back from > MySQL... and it keeps trying to get it. > > Any help? > > > Thanks, > Brian Rue

« previous php.general (#50438) next »