1$data = array(
2 array(
3 'title' => 'My title' ,
4 'name' => 'My Name' ,
5 'date' => 'My date'
6 ),
7 array(
8 'title' => 'Another title' ,
9 'name' => 'Another Name' ,
10 'date' => 'Another date'
11 )
12);
13
14$this->db->insert_batch('mytable', $data);