Array
(
[0] => stdClass Object
(
[features_id] => 2
[features_type] => TV
)
[1] => stdClass Object
(
[features_id] => 5
[features_type] => New balls
)
[2] => stdClass Object
(
[features_id] => 6
[features_type] => Basketball pitch
)
)
對於我的陣列獲取的結果我想顯示這個紀錄由逗號等分離:如何逗號分隔的多個數組對象值的值顯示
New balls,Basketball pitch.
通過使用foreach如何寫不知道如何得到這種類型的結果
它的對象... $ val-> features_type –
你能給例如BCZ我是新的張貼答.. –
謝謝你,它的解決 –