I'm trying to fetch a data from my session and pass this as the value of a variable using this:
$division = $this->session->userdata('divID');
now i wanted to show only the records that contains the divID using the like ()
$crud->like('action_officer', $division);
After login, I checked my session table and Im getting the correct value for my divID. So far Im not getting any error. But when i checked the displayed records, nothing is there. Please help, what am I missing here?