Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- defined('BASEPATH') OR exit('No direct script access allowed');
- class App extends CI_Model {
- function __construct()
- {
- parent::__construct();
- }
- function simpan($data = array())
- {
- $jumlah = count($data);
- if ($jumlah > 0)
- {
- $this->db->insert_batch('anggota', $data);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement