RE: [PHP-DB] Supplied argument is not a valid MySQL result resource...

From: Date: Mon, 23 Apr 2001 13:36:24 +0000
Subject: RE: [PHP-DB] Supplied argument is not a valid MySQL result resource...
Groups: php.db 
Request: Send a blank email to php-db+get-8814@lists.php.net to get a copy of this message
> -----Original Message----- > From: Klaus Haberkorn [mailto:hk@hknets.de] > Sent: Saturday, April 21, 2001 6:18 AM > To: php-db@lists.php.net > Subject: Re: [PHP-DB] Supplied argument is not a valid MySQL result > resource... > > > Looks like many reasons cause this error-message, > but I cannot find a problem in the Query: > ie.: > $db_handle = mysql_connect("localhost", "mysql", "mysql"); > if($db_handle) > { > $result = mysql_db_query("mysql", "select * from user", $db_handle); > if($result = TRUE) if ($result == TRUE) --- Mark Roedel (roedelm@letu.edu) || "There cannot be a crisis next week. Systems Programmer / WebMaster || My schedule is already full." LeTourneau University || -- Henry Kissinger

« previous php.db (#8814) next »