echo($imgs);的结果是Arrayarray(1) { [0]=> array(4) { [0]=> string(100) "<img src="/d/file/2015-09-08/1441685325180733.jpg" title="1441685325180733.jpg" alt="viewfile.jpg"/>" [1]=> string(39) "/d/file/2015-09-08/1441685325180733.jpg" [2]=> int(554) [3]=> int(376) } } 我想把/d/file/2015-09-08/1441685325180733.jpg赋值给$img2 该怎么写?
$array = 你上边的数组;foreach($array as $key=>$value){ foreach($value as $kk=>$vv){ $img[$kk]=$vv; }}echo $img[0].'<br/>';echo $img[1].'<br/>';