Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

return with success message laravel

 return redirect()->route('agent')->with(
            'success', __('Agent successfully added!')
        );

 return redirect()->back()->with('error', __('Permission Denied.'));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #return #success #message #laravel
ADD COMMENT
Topic
Name
6+6 =