迅睿CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
1835022288
028-61286886
程序不支持
$ids = [1,2,3,4,5] ->where_in('id',ids);
这种写法吗
$childids = '1,390,392,394,395,396,397,398,399,400,401,402,403,404,405,406,407'; $data->where_in('xmwz',$childids);
Call to undefined method CodeIgniter\\Database\\MySQLi\\Builder::where_in()<br>/home/wwwroot/xunrui.rdcms.com/dayrui/App/Gongshi/Controllers/Home.php(62)
$childids = '1,390,392,394,395,396,397,398,399,400,401,402,403,404,405,406,407'; $data->where('xmwz in ('.$childids.')');