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.'));
 
PREVIOUS NEXT
Tagged: #return #success #message #laravel
ADD COMMENT
Topic
Name
6+3 =