{foreach item=foo from=$video key=fkey0} >>{$fkey1} 二次元配列のスマートな読み取り [8] => v.swf ) ) [6] => 配列 ( [玄源の天剣] => [5 ] => 配列 ( $result) ) { $re_array[$row1['name']][$row1['img']]=$row1['link'] };