Warning: mysql_query() [function.mysql-query]: Unable to save result set in E:\cst.com.cn\includes\class\database.class.php on line 80

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in E:\cst.com.cn\includes\class\database.class.php on line 81

My SQL Errors Debug..

MySQL Error : Commands out of sync; you can't run this command now
Query Result : Select * From artware_edm where N_Key = 24 and N_YN = 1