That is because you removed loop from insertMonday() method
My code supposes that loop is still there
Now you have to move insertMonday() into loop in controller:
$this->load->model('emp_model');
foreach($doctornames as $index => $doctorname){
$doctorfield = $doctorfields[$index];
$date = $dates1[$index] . '-' . $dates11[$index];
$row = array(
'doctorname' => $doctorname,
'doctorfield' => $doctorfield,
'schedule' => $date
);
$this->emp_model->insertMonday($row);
}