I have a following JSON File. I have tried accessing it; but, I am getting undefined error. Please suggest how to read it using PHP:
"feed": {
"entry": [
{
"id": "679244143963",
"title": "Nashware Black Travel Kit",
"description": "Color : Black Material : Others Type : Travel kits Closure : Magnit Button Combo : No Compartment : 4 Dimension (LxHxW) cm : 25X51X7 Disclaimer : Product colour may slightly vary due to photographic lighting sources or your monitor settings Gender : Women ",
"link": "http://www.sl.com/product/travel-kit/679244143963",
"image_link": "http://n1.sdlcdn.com/imgs/b/e/t/MU_COS_BAG_M_1_3x-0b20f.jpg",
"sub_category_id": "435",
"sub_category_name": "Travel Accessories",
"mrp": "700",
"availability": "in stock",
"effective_price": "310"
},
{
"id": "679244143963",
"title": "Nashware Black Travel Kit",
"description": "Color : Black Material : Others Type : Travel kits Closure : Magnit Button Combo : No Compartment : 4 Dimension (LxHxW) cm : 25X51X7 Disclaimer : Product colour may slightly vary due to photographic lighting sources or your monitor settings Gender : Women ",
"link": "http://www.sl.com/product/travel-kit/679244143963",
"image_link": "http://n1.sdlcdn.com/imgs/b/e/t/MU_COS_BAG_M_1_3x-0b20f.jpg",
"sub_category_id": "435",
"sub_category_name": "Travel Accessories",
"mrp": "700",
"availability": "in stock",
"effective_price": "310"
}
]
}
After Entry same as JSON notation Id, title, desc and etc are displayed in array. Any suggestions.