Hi
Session::push is pushing a value(in your case array) into an array.
Session::put will put a key/value pair(in your case array) into key. So I think Session::put('key', 'value'); is what you are looking for.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community