I have two arrays
$a = array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p');
$b = array('1','2','3','3','4','2','1','4','2','2');
Array $a sometimes has more values.
I need to join those two arrays but for result I need to loop values of the array $b as long there are values of the array $a.
Result should be like this
a1
b2
c3
d3
e4
f2
g1
h4
i2
j2
k1 // array $b starts to loop here
l2
m3
n3
o4
p2