PHP基础PHP教程php框架JavaScript
asp.netAJAX正则表达式ASP
where id in (1,2,3)
$id = implode(',', array(1,2,3)); $sql = "....where id in ($id) ";
使用in可以
$id = array(1,2,3);$sqlstr = "select * from table where id in(".implode(',',$id).")";