How can I convert this query to active record?
\"UPDATE table_user SET email = \'$email\', last_ip = \'$last_ip\' where username = \'$username\' and status =
you can use both use array like :
$array = array('tlb_account.crid' =>$value , 'tlb_request.sign'=> 'FALSE' );
and direct assign like:
$this->db->where('tlb_account.crid' =>$value , 'tlb_request.sign'=> 'FALSE');
I wish help you.