daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Feb 23rd, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. controller
  2.  
  3. $id = $this->input->post('id');
  4. $data = [];
  5. $this->nama_model->data($data, $id);
  6.  
  7. model
  8.  
  9. public function data($data, $id) {
  10.  $this->db->insert($data)
  11.           ->where('id', $id);
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top