RE: [PHP] supplied argument is not a valid MySQL result resource

From: Date: Thu, 20 Jun 2002 13:42:56 +0000
Subject: RE: [PHP] supplied argument is not a valid MySQL result resource
Groups: php.general 
Request: Send a blank email to php-general+get-103123@lists.php.net to get a copy of this message
On your mysql_query lines add an: or die(mysql_error()) And you'll hear from mysql what's wrong. > -----Original Message----- > From: Chris Fraser [mailto:argo@urswerks.homeip.net] > Sent: Thursday, June 20, 2002 9:30 AM > > My problem is if I just add scaname, everything works fine in > the adjusted display code. When I > add the group variable to the query lines. I get errors. > Also, if I add officer everything is > fine. It's just when I add the group variable. > > Warning: mysql_fetch_array(): supplied argument is not a > valid MySQL result resource in D: > \Internet\Apache\htdocs\siteb\auroratest\user.php on line 158

« previous php.general (#103123) next »