error save method saving the same value for all rows in cakephp
I am using the below Query:-
foreach ($customer as $key => $data) { $this->CancelledCustomers->create(); $this->CancelledCustomers->save(array('account_number' => $data['Customer']['account_number'])); }
cakephp save multiple records at once,
cakephp get save error,
cakephp 4 saving data