Laravel 5.2 redirect back with success message

QuestionsCategory: LaravelLaravel 5.2 redirect back with success message
VR Soft Coder Staff asked 6 months ago

1 Answers
VR Soft Coder Staff answered 6 months ago

This might be help you
return redirect()->back()->with('message', 'IT WORKS!');
Displaying message if it exists:

@if(session()->has('message'))

{{ session()->get('message') }}

@endif

Your Answer

Related Posts

Begin typing your search above and press enter to search. Press ESC to cancel.

Back To Top