What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-03 07:05:02
withErrors laravel
Inside controller : return back()->withError('You are not logged in or Your session has expired'); Inside blade file : @if(Session::has('errors')) toastr.error("{{Session::get('errors')->first()}}"); @endif It’s a “m... Add solution