Changeset 362


Ignore:
Timestamp:
Oct 31, 2014 1:44:13 PM (11 years ago)
Author:
quyenla
Message:

collaborator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/controllers/collaborator.php

    r361 r362  
    5252
    5353    public function addCollaborator() {
     54       
    5455        $result = array();
    5556        $input = $this->input->post();
    56         $this->db->insert('tblcollaborator', $input);
     57        $this->load->model('collabolator_model');
     58        $this->collabolator_model->insert($input);
    5759        $result['success'] = 1;
    5860        echo json_encode($result);
Note: See TracChangeset for help on using the changeset viewer.