Re: Supplied argument is not a valid MySQL result resource
| From: | Andrey Hristov | Date: | Tue, 08 Jan 2002 16:56:04 +0000 |
| Subject: | Re: Supplied argument is not a valid MySQL result resource | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79799@lists.php.net to get a copy of this message | ||
Possibilities:
1)There was an error when mysql_query(). Possibly the SQL statement is not correct. Trace with
var_dump()/mysql_errno().
2)You give as parameter to some of mysql_* functions a variable not returned from mysql_query().
HTH
Regards,
Andrey Hristov
----- Original Message -----
From: "Dan McCullough" <McWC@rocketmail.com>
To: "PHP General List" <php-general@lists.php.net>
Sent: Tuesday, January 08, 2002 6:47 PM
Subject: [PHP] Supplied argument is not a valid MySQL result resource
> I know this is a common error, but what does it mean. This snippet of code is something I use
> all
> the time.
>
> help please.
>
> dan
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>