I am new in PHP and I have a tutorial but I really no idea how to do it.
I have a Package table and I want to get the Items Name from the ID. Is it possible to get the Item name from the JSON file? If yes how should I do it?Thanks in advance.
Table:
Package | Items Names |
---|---|
1 | (Here show the Items name in the package) |
2 | (e.g: Clothes & Necklace) |
JSON file:
{
"Package_01": {
"Item_01": {
"Name": "Perfume",
},
"Item_02": {
"Name": "Clothes",
}
},
"Package_02": {
"Item_02": {
"Name": "Clothes",
},
"Item_03": {
"Name": "Necklace",
}
}
}