i have three arrays in php script
$arr1=("a","b","c") //(1,2,3)
$arr2=("d","e","f") //(4,5,6)
$arr3=("g","h","i") //(7,8,9)
note that, all the elements of three arrays are Strings. Also, there are same number of elements in all the three arrays.
i want output something like this..
$combined_arr(“adg”,”beh”,”cfi”) //(147,258,369)
how can i get a combined array like this in php..
can i add a character/string between each element of combined array like “a and d and g”
Any idea? or guideline?
This should work for what you describe: