Question : back() with errors in laravel
Answered by : real-reindeer-jvb2udj1f5qz
return Redirect::back()->withErrors(['msg' => 'The Message']);
inside you view
@if($errors->any())
<h4>{{$errors->first()}}</h4>
@endif
Source : https://stackoverflow.com/questions/19838978/laravel-redirect-back-with-message | Last Update : Sun, 26 Sep 21