php如何在下列二维数组中将每个url元素的值前面加上http://www.123.com/

日期:2022-04-07 23:39:20 人气:1

php如何在下列二维数组中将每个url元素的值前面加上http://www.123.com/

foreach($arr as $key=>$value){
$arr[$key]['url']= 'http://www.123.com/'.$value['url'];
    A+
热门评论