Ignore:
Timestamp:
Oct 30, 2014 7:03:20 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

    r355 r359  
    7979        return $this->load->view('collaborator/listview', $data,true);   
    8080    }
     81    public function addCollaborator()
     82    {
     83        $result=array();
     84        $input=$this->input->post();
     85        $this->db->insert('tblcollaborator', $input);
     86        $result['success']=1;
     87        echo json_encode($result);
     88    }
    8189    public function test() {
    82         $data=$this->db->get_where('tblcollaborator');
    83         print_r ($data->result_array());
    84         die();
     90       
    8591        for ($i = 1; $i <= 500; $i++) {
    8692            $collaborator = new Entities\Tblcollaborator();
Note: See TracChangeset for help on using the changeset viewer.