[英]use where_in in grocery crud as codeigniter
I want to use where_in() method as codeigniter , I tried to define it but not working correctly.please help. 我想将where_in()方法用作codeigniter,我试图对其进行定义但无法正常工作。请帮助。 I added this code in grocery crud library
我在杂货杂货库中添加了此代码
public function where_in($key = NULL, $values = array())
{
$this->where_in[] =array($key, $values);
return $this;
}
no errors but no result also. 没有错误,但也没有结果。
Thank You M khalid Junaid. 谢谢您M khalid Junaid。
where() use as where_in() where()用作where_in()
I have used where and works fine. 我已经在哪里使用并且工作正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.