SHARE
TWEET

Controller

a guest May 23rd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  public function create()
  2.   {
  3.     $data = [
  4.       'id_kategori' => 'KTG' . date('dmy'),
  5.       'kategori' => $_POST['kategori']
  6.     ];
  7.     $this->db->insert('tb_kategori', $data);
  8.     // $this->Kategori_model->create($_POST['kategori']);
  9.   }
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