mysql中in_array问题
t8000 2015-03-03 05:18:36 一个表叫 table,里面有
id type content isdel
1 1 dsafds 0
2 3 dflkj 0
3 4 dsafds 1
4 2 dflkj 1
.. 更多数据
$arraylist = '1,2,4,5';
需求想显示出 table 中 type 在 $arraylist 中,并且isdel = 0的内容
select * from table where isdel=0 and type in '{$arraylist}'
无效果,请问具体是什么?