multi insert codeigniter code example
Example: insert multiple data codeigniter
$arrayOfData = [
[
'COLUMN' => 'value'
....
....
],
[
'COLUMN' => 'value1'
....
....
]
]
this->db->insert_batch('TABLE_NAME', $arrayOfData);