skip to Main Content

How to return back with error/success message in laravel blade view?

The URL that sends the request is: http://localhost:8000/my_details?my_id='.$id My Controller looks like this: public function my_action(Request $request){ $myauth=$request->validate([ 'remarks' => 'required' ]); $full_name = Auth::user()->full_name; $id=$request->input('id'); $user_remarks=$request->input('user_remarks'); $remarks=$myauth['remarks']; $status=$request->input('status'); $newremarks=$user_remarks . ' ' . $full_name . ': ' . $remarks…

VIEW QUESTION
Back To Top
Search