Answers for "back() with errors in laravel"

PHP
0

back() with errors in laravel

return Redirect::back()->withErrors(['msg' => 'The Message']);
inside you view
@if($errors->any())
<h4>{{$errors->first()}}</h4>
@endif
Posted by: Guest on September-19-2021

Code answers related to "back() with errors in laravel"

Browse Popular Code Answers by Language