Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel redirect back

return Redirect::back()->withErrors(['msg', 'The Message']);

and inside your view call this

@if($errors->any())
<h4>{{$errors->first()}}</h4>
@endif
 
PREVIOUS NEXT
Tagged: #laravel #redirect
ADD COMMENT
Topic
Name
4+3 =