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