$updaterec = Sme::where('rec_id', '=', $request->id)->update(['rec_id' => $request->replacement]);
//$updaterec->save();
the update function does its work immediately!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community