Closed Noushid closed 7 years ago
How to get data like this $this->db->where('companyIS NULL')->get('users')->result(); i have already try this method $this->user->where('companyIS NULL')->get_all(); But result is false.
$this->db->where('
IS NULL')->get('users')->result();
$this->user->where('
IS NULL')->get_all();
did you extend your user model to MY_MODEL?
user
MY_MODEL
the get() method only accepts the Id of row as optional parameter.
How to get data like this
$this->db->where('
companyIS NULL')->get('users')->result();
i have already try this method$this->user->where('
companyIS NULL')->get_all();
But result is false.