Shouldn't that be:
$email = Session::get['email'];
Summer Sale! All accounts are 50% off this week.
In controller, if I have model populated following
{{Former::open->method('get')}}
{{Former::text('email')}}
{{former::close}}
text box is populated with email, but for now I want to populate with session data instead of model . Any idea who to bind form element with session data. I am using Former form library and laravel4. Any help is appreciated.
tried creating a variable and assign it to blade but not working
$email = $sessinfo['email'];
return View::make('test',compact('email'))
Please or to participate in this conversation.