I get this error.. but I have no clue why..
mysql_fetch_array(): supplied argument is not a valid MySQL result resource
means there is a problem with your query. Try using mysql_error() to troubleshoot.
Cgraz