First you pass value in controller :-
return View::make('admin_pages.dashboard')->with('message',$message);
and get this messages on view page :-
<span>@if ($alert = Session::get('message'))
{{ $alert }}
@endif </span>
return View::make('admin_pages.dashboard')->with('message',$message);
and get this messages on view page :-
<span>@if ($alert = Session::get('message'))
{{ $alert }}
@endif </span>
thank you
ReplyDeleteLaravel Development Company, Get a free quote for laravel web development requirement from a leading Laravel Development Company. Discuss your web project with us to get large discounts...Contact us : +91-9806724185 or Contact@expresstechsoftwares.com
ReplyDelete