Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

message get with return action laravel

return back()->with('message', 'WORKS!');

@if(session()->has('message'))
    <div class="alert alert-success">
        {{ session()->get('message') }}
    </div>
@endif
 
PREVIOUS NEXT
Tagged: #message #return #action #laravel
ADD COMMENT
Topic
Name
2+6 =