php数组转字符串

Array
(
[0] => stdClass Object
(
[pro_id] => 11
)

[1] => stdClass Object
(
[pro_id] => 7
)

[2] => stdClass Object
(
[pro_id] => 4
)

)

这样的数组怎么转换成 11,7,4这样的字符串
implode

搞不好就用循环来拼吧.
implode(","猛仔昌,$arr['stdClass Object']"枝扒)你试试这戚和个吧,是个二维数组
这个只能循环拼