How to combine multiple arrays to csv file
Posted: Thu Jan 11, 2018 6:32 am
>$a = 1,2,3
>$b = 'x','y','z'
>$c= $a + $b
>$c
1
2
3
x
y
z
What I want is:
1x
2y
3z
Furthermore, I want to export this into csv file with two colums (1,2,3) and (x,y,z).
Thanks!
>$b = 'x','y','z'
>$c= $a + $b
>$c
1
2
3
x
y
z
What I want is:
1x
2y
3z
Furthermore, I want to export this into csv file with two colums (1,2,3) and (x,y,z).
Thanks!