私はそのような配列を持っています
Array (
[0] => Array (
[64579] => Array (
[title] => title
[description] => blah, blah, blah
[image] => Array (
[original] => Array ( [src] => image1.jpg )
[reference] => Array ( [src] => image1_big.jpg )
[thumb] => Array ( [src] => image1_thumb.jpg )
)
私がつかもうとしているのは、参照画像の src です...次のことを試しました
foreach($images as $row => $value){
$gallery[] = $value['image'];
}
しかし、それはそのように戻ります
Array ( [0] => [1] => [2] => [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => [11] => [12] => [13] => [14] => [15] => [16] => [17] => [18] => [19] => [20] => [21] => [22] => [23] => [24] => [25] => [26] => [27] => [28] => [29] => [30] => [31] => [32] => [33] => [34] => [35] => [36] => [37] => [38] => [39] => [40] => [41] => [42] => [43] => [44] => [45] => [46] => [47] => [48] => )
参照画像 src を新しいギャラリー配列に追加するにはどうすればよいですか?