Shouldn't that be:
$email = Session::get['email'];
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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.