0
Array
(
[total_results] => 47023
[products] => stdClass Object
(
[product] => Array
(
[0] => stdClass Object
(
[binds] => 1627836:3269460;1627836:3269461;1627836:3269458;1627839:3269490;1627841:3269526
[cid] => 50010368
[name] => 三九光學雷朋太陽鏡RayBan超輕樹脂鏡片運動墨鏡RB4039 816/13
[pic_url] => //img06.taobaocdn.com/bao/uploaded/i6/TB1532SOVXXXXcJXXXXN951FFXX_093838.jpg
[price] => 980.00
[product_id] => 717498724
[props] => 20000:55652;1629764:3596338
[status] => 0
[tsc] => CIKCQQU
)
我沒有很久以前的代碼,並試圖打印這個數組使用每個循環。stdClass obj數組..如何打印單個項目?
任何人都可以幫助打印數組項目,如'價格'例如?
假設你上面的變量稱爲$陣列 – Farkie
棒極了,感謝弗蘭基 – iKhalidSh