Combine 3 arrays with column format(PHP)
I have 3 arrays like this format
$array1 = array(a,b,c,d);
$array2 = array(e,f,g,h);
$array3 = array(i,j,k,l);
I need to merge this 3 arrays with column format
My expected result
array(a,e,i,b,f,j,c,g,k,d,h,l);
How can i do this. I am already do array merge. But its merge row format.
but i need column format.
Please Advise
No comments:
Post a Comment