- Timestamp:
- Oct 30, 2014 7:03:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/controllers/collaborator.php
r355 r359 79 79 return $this->load->view('collaborator/listview', $data,true); 80 80 } 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 } 81 89 public function test() { 82 $data=$this->db->get_where('tblcollaborator'); 83 print_r ($data->result_array()); 84 die(); 90 85 91 for ($i = 1; $i <= 500; $i++) { 86 92 $collaborator = new Entities\Tblcollaborator();
Note: See TracChangeset
for help on using the changeset viewer.