Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!defined('BASEPATH'))
- exit('No direct script access allowed');
- class Mod_usaha extends CI_Model
- {
- public $table = 'usaha';
- public $id = 'idusaha';
- public $order = 'DESC';
- function __construct()
- {
- parent::__construct();
- }
- function insert_pemilik($data)
- {
- $this->db->insert_batch('usaha_pemilik', $data);
- }
- function insert_usaha($result)
- {
- $this->db->insert_batch('usaha', $result);
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement