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