Array
(
[9] => stdClass Object
(
[tid] => 9
[vid] => 3
[name] => Domestic
[description] => Domestic
[weight] => 0
)
[12] => stdClass Object
(
[tid] => 12
[vid] => 3
[name] => Economic
[description] => Economic
[weight] => 1
)
[11] => stdClass Object
(
[tid] => 11
[vid] => 3
[name] => International
[description] =>
[weight] => 2
)
)
print_r($ child)の結果が上記の場合、すべてのtidと名前をエコーするにはどうすればよいですか?
foreach($child as $arr){
foreach($arr as $key=>$vaule)
{
...
それらをループアウトする方法がわかりません。