[snip] I am using PHP to do some command line work on a Linux box. I keep getting this error and can not figure out way. Is there something I am missing because this should work. There is a copy of the code at the bottom of this message.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/.autoserv/html/auto/updatequota.php on line 8 [/snip] Let me guess that your db connection string is in an "include" file. We had a similar problem and fixed it by using full paths in includes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php