The $json's content is about this:
{"pagination": {}, "meta": {"code": $}, "data": [{"Attribution": null, "tags": [], "type": "Image", "location": null, " Comments ": {" Count ": 0}," filter ":" Normal "," Created_time ":" 1453516817 "," link ":" https:\/\/www.instagram.com\/p\/ ba3xjwmp4ye\/"," likes ": {" Count ": 0}," Images ": {" Low_resolution ": {" url ":" https:\/\/scontent.cdninstagram.com\/ Hphotos-xpf1\/t51.2885-15\/s320x320\/e35\/12547507_218933238449715_1618422633_n.jpg "," width ": +," height ": 320} , "thumbnail": {"url": "Https:\/\/scontent.cdninstagram.com\/hphotos-xpf1\/t51.2885-15\/s150x150\/e35\/12547507_ 218933238449715_1618422633_n.jpg "," width ":" Max "," Height ":" Max "," Standard_resolution ": {" url ":" https:\/\/ Scontent.cdninstagram.com\/hphotos-xpf1\/t51.2885-15\/s640x640\/sh0.08\/e35\/12547507_218933238449715_ 1618422633_n.jpg "," width ": 640," height ": 640}}," Users_in_photo ": []," caption ": null," user_has_liked ": false," id ":" 1168506212405185694_2231334066 "," user ": {" username ":" Misery "," profile_picture ":" https:\/\/ scontent.cdninstagram.com\/hphotos-xta1\/t51.2885-19\/10684024_538087799681202_2023427205_a.jpg "," id ":" 2231334066 "," full_name ":" Misery "}},{" attribution ": null," tags ": []," Type ":" "image", "location": null, "comments": {"Count": 0}, "filter": "Hefe", "Created_time": "1444533784", "link": "https : \/\/www.instagram.com\/p\/8rpxxov48o\/"," likes ": {" Count ": 2}," Images ": {" Low_resolution ": {" url ":" https:\/\/ Scontent.cdninstagram.com\/hphotos-xpt1\/t51.2885-15\/s320x320\/e35\/11910259_421481191371212_1146964092_n.jpg "," width ":", "" height ":" thumbnail ": {" url ":" Https:\/\/scontent.cdninstagram.com\/hphotos-xpt1\/t51.2885-15 \/s150x150\/e35\/11910259_421481191371212_1146964092_n.jpg "," width ":" Max "," Height ":" Max "," Standard_resolution ": {" URL ":" Https:\/\/scontent.cdninstagram.com\/hphotos-xpt1\/t51.2885-15\/s640x640\/sh0.08\/e35\/11910259_ 421481191371212_1146964092_n.jpg "," width ": 640," height ": 640}}," Users_in_photo ": []," caption ": null," User_has_ Liked ": false," id ":" 1093151075025784616_2231334066 "," user ": {" username ":" Misery "," profile_picture ":" https:\/\/ scontent.cdninstagram.com\/hPhotos-xta1\/t51.2885-19\/10684024_538087799681202_2023427205_a.jpg "," id ":" 2231334066 "," full_name ":" Misery "}}] }
Reply content:
The $json's content is about this:
{"pagination": {}, "meta": {"code": $}, "data": [{"Attribution": null, "tags": [], "type": "Image", "location": null, " Comments ": {" Count ": 0}," filter ":" Normal "," Created_time ":" 1453516817 "," link ":" https:\/\/www.instagram.com\/p\/ ba3xjwmp4ye\/"," likes ": {" Count ": 0}," Images ": {" Low_resolution ": {" url ":" https:\/\/scontent.cdninstagram.com\/ Hphotos-xpf1\/t51.2885-15\/s320x320\/e35\/12547507_218933238449715_1618422633_n.jpg "," width ": +," height ": 320} , "thumbnail": {"url": "Https:\/\/scontent.cdninstagram.com\/hphotos-xpf1\/t51.2885-15\/s150x150\/e35\/12547507_ 218933238449715_1618422633_n.jpg "," width ":" Max "," Height ":" Max "," Standard_resolution ": {" url ":" https:\/\/ Scontent.cdninstagram.com\/hphotos-xpf1\/t51.2885-15\/s640x640\/sh0.08\/e35\/12547507_218933238449715_ 1618422633_n.jpg "," width ": 640," height ": 640}}," Users_in_photo ": []," caption ": null," user_has_liked ": false," id ":" 1168506212405185694_2231334066 "," user ": {" username ":" Misery "," profile_picture ":" https:\/\/ scontent.cdninstagram.com\/hphotos-xta1\/t51.2885-19\/10684024_538087799681202_2023427205_a.jpg "," id ":" 2231334066 "," full_name ":" Misery "}},{" attribution ": null," tags ": []," Type ":" "image", "location": null, "comments": {"Count": 0}, "filter": "Hefe", "Created_time": "1444533784", "link": "https : \/\/www.instagram.com\/p\/8rpxxov48o\/"," likes ": {" Count ": 2}," Images ": {" Low_resolution ": {" url ":" https:\/\/ Scontent.cdninstagram.com\/hphotos-xpt1\/t51.2885-15\/s320x320\/e35\/11910259_421481191371212_1146964092_n.jpg "," width ":", "" height ":" thumbnail ": {" url ":" Https:\/\/scontent.cdninstagram.com\/hphotos-xpt1\/t51.2885-15 \/s150x150\/e35\/11910259_421481191371212_1146964092_n.jpg "," width ":" Max "," Height ":" Max "," Standard_resolution ": {" URL ":" Https:\/\/scontent.cdninstagram.com\/hphotos-xpt1\/t51.2885-15\/s640x640\/sh0.08\/e35\/11910259_ 421481191371212_1146964092_n.jpg "," width ": 640," height ": 640}}," Users_in_photo ": []," caption ": null," User_has_ Liked ": false," id ":" 1093151075025784616_2231334066 "," user ": {" username ":" Misery "," profile_picture ":" https:\/\/ scontent.cdninstagram.com\/hPhotos-xta1\/t51.2885-19\/10684024_538087799681202_2023427205_a.jpg "," id ":" 2231334066 "," full_name ":" Misery "}}] }
Escaped,对自己问题的补充修改问题详情即可,不要发表在回答区域
data;foreach($data as $row){ echo $row->images->standard_resolution->url."
";}
You only use Json_decode to decode, but the output is not json_encode ah. The output should be just a bunch of strings, right? \ is used to transfer characters. /In fact, after the output is/