Wednesday, March 15, 2017

How to know which element belongs to which session in laravel php

Lets say I have group or items

In session('goods') I have

[
 "Item1"
"Item2"
"Item3"
"Item4"
"Item5"]

And then I have session('bads') and in it

["Item6"
"Item7"
"Item8"
"Item9"
"Item10"]

I just know that there is an Item10 and Item4

How do I know that these two items belong to which session?




via Alen

Advertisement