我的代码是这么写的$ids = '1,2,3,4';$conditions[]=array('id IN (?)'=> $ids);拼出来的SQL是SELECT ...ooxx... WHERE id IN ('1,2,3,4');这条SQL其实是错的,应该是SELECT ...ooxx... WHERE id IN (1,2,3,4);
添加回答
举报
0/150
提交
取消