Array Key same but add values to the vlaues? [closed]
This my array....
Array
(
[a1]=>'k'
[a2]=>'a'
[a3]=>'w'
[a4]=>'z'
}
i want Array
(
[a1]=>'k,a'
[a3]=>'w'
[a4]=>'z'
}
$arr = ...;
unset($arr['Â 7'], $arr['Â 11']);
$arr[6] = 7;
$arr[10] = 11;
精彩评论