'1','Presentation_Name' => 'Cephalic'), array('Presentation_Id' => '2','Presentation_Name' => 'Breech - frank'), array('Presentation_Id' => '3','Presentation_Name' => 'Breech - knee'), array('Presentation_Id' => '4','Presentation_Name' => 'Breech - footling'), array('Presentation_Id' => '5','Presentation_Name' => 'Transverse'), array('Presentation_Id' => '6','Presentation_Name' => 'Compund'), array('Presentation_Id' => '7','Presentation_Name' => 'Not Applicable'), array('Presentation_Id' => '8','Presentation_Name' => 'Not Applicable') ); foreach ($anc_presentation as $presentation) { AnteNatalClinicPresentation::firstOrCreate([ 'id' => $presentation['Presentation_Id'], 'name' => $presentation['Presentation_Name'] ]); } } }