09.$count = $_SGLOBAL['db']->result($_SGLOBAL['db']->query("SELECT * FROM ".tname('app_card')." where money=500 ORDER BY id DESC"),0);
?????
这里是要的统计数量,而不是查询的值~·~
$count = $_SGLOBAL['db']->result($_SGLOBAL['db']->query("SELECT count(*) FROM ".tname('app_card')." where money=500 "),0);