You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '','6','1','2)' at line 1select `id`,`medal_img`,`medal_name`,`medal_depict` from `jishigou_medal` where `id` in (9','6','1','2)
不是数据库版本问题 提示是sql语句出错
topic.mod.php文件里面的$medal_list的sql写错了!导致部分用户一登陆自己的页面就会报错!就是 $sql = "select `id`,`medal_img`,`medal_name`,`medal_depict` from `".TABLE_PREFIX."medal` where `id` in (".implode("','",$ids)."