Pergunta

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.

Foi útil?

Solução

Thank You M khalid Junaid.

where() use as where_in()

I have used where and works fine.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top