Question

I want to use where_in() method as codeigniter , I tried to define it but not working correctly.please help. 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.

Was it helpful?

Solution

Thank You M khalid Junaid.

where() use as where_in()

I have used where and works fine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top