SQL: SELECT * FROM [Table]spaceitems WHERE itemid IN (14527','14528)
Error: 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 '','14528)' at line 1
sql语句少了两个单引号
应该为:SELECT * FROM [Table]spaceitems WHERE itemid IN ('14527','14528');
楼主请查看function/common.func.php
确认simplode为如下代码
function simplode($sarr, $comma=',') {
return '\''.implode('\''.$comma.'\'', $sarr).'\'';
}