Hi and thanks,

Actually.. there was a typo in an if() statement just prior to it that
checked to see if a variable was set before proceeding with the query.

What a dumb-ass I am. You know you've been working way to long when you
can't do simple things.

Thanks for your comments!

Aaron

-----Original Message-----
From: Matt [mailto:[EMAIL PROTECTED] 
Sent: August 3, 2003 10:11 AM
To: Aaron Wolski; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] query works fine on console but not with PHP -
why?


----- Original Message ----- 
From: "Aaron Wolski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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.




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to