$this->db->set('Name',$strFile,false); $this->db->insert('names') // or $this->db->insert('names', 'Name='.$strFile);