Your query more than likely failed. If you had proper error checking, you'd of seen this already. Check mysql_error() after your query to see what the error is:
$rs = mysql_query($query) or die(mysql_error()); or $rs = mysql_query($query); if($e = mysql_error()) { echo "Error occurred: $e"; } etc... ---John Holmes... ----- Original Message ----- From: "Todd Barr" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Sent: Tuesday, May 27, 2003 10:49 AM Subject: [PHP] Fetch Array Problem Morning We recently moved out site to a new server, and scripts that use to work, no longer do. Like mysql_fetch_array worked fine, but now I am getting this error mysql_fetch_array(): supplied argument is not a valid MySQL result resource Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php