SHARE
TWEET

Model

a guest Sep 19th, 2019 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. defined('BASEPATH') OR exit('No direct script access allowed');
  3.  
  4. class MDL_upload extends CI_Model {
  5.    
  6.   public function hapus_data($id,$table)
  7.   {
  8.         $this->db->where('id',$id);
  9.     $this->db->delete($table);
  10.  
  11.   }
  12.  
  13. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top