Search for threads and articles
Quickly access threads and articles by running a global search.
No results found
We couldn’t find anything with that term. Please try again.
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!
Your banner here too?
We'd like to thank these
for supporting us
Your logo here?
The Laravel portal for problem solving, knowledge sharing and community building.