Answers for "how to use flash message in laravel"

PHP
0

how to use flash message in laravel

Session::flash('message', 'This is a message!'); 
Session::flash('alert-class', 'alert-danger');
Posted by: Guest on October-29-2020
0

laravel flash message

public function create(Request $request){    return redirect()->route('home')        ->with('error','You have no permission for this page!');}
Posted by: Guest on October-29-2020

Code answers related to "how to use flash message in laravel"

Browse Popular Code Answers by Language