Re: query works fine on console but not with PHP - why?
| From: | Matt | Date: | Sun, 03 Aug 2003 14:10:38 +0000 |
| Subject: | Re: query works fine on console but not with PHP - why? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-29643@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Aaron Wolski" <aaronjw@martekbiz.com>
To: <php-db@lists.php.net>
Sent: Sunday, August 03, 2003 9:59 AM
Subject: [PHP-DB] query works fine on console but not with PHP - why?
> The error I am getting on the browser is:
>
> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
> result resource in http://www.martekbiz.com/KCS/utils.inc on
> line 52
>
> Anyone have an idea as to what it up?
Try:
echo mysql_error();
and see what mysql says.