This might work, http://laravel.io/forum/05-22-2014-using-session-as-a-simple-array
Something like,
$data = Session::get('addresses');
$data[] = 'cottage';
Session::put('addresses', $data);
Hope that helps.
TerrePorter said:
This might work, http://laravel.io/forum/05-22-2014-using-session-as-a-simple-array
Something like,
$data = Session::get('addresses'); $data[] = 'cottage'; Session::put('addresses', $data);
Hope that helps.
Not as elegant as I had hoped but it definitely works.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community