skip to Main Content

Laravel Eloquent with MVC principles – PHP

I am quite new to laravel. Using Laravel 8. When saving data I have seen below method in many examples. In the controller $emp = new Employee(); $emp->emp_name = $request->emp_name; $emp->emp_no = $request->emp_no; $emp->email = $request->email; $emp->save(); My doubt is…

VIEW QUESTION
Back To Top
Search