Yes I know maybe the title is so similar but it's not same than the others. I think it can be done with a recursive function. But I could not do. For example I have three different arrays:
array('1')
array('a','b')
array('x', 'y', 'z')
I want to create a new array or output like this;
array(
'1',
'1a',
'1b',
'1x',
'1y',
'1z',
'1ax',
'1ay',
'1az',
'1bx',
'1by',
'1bz'
)
And the main problem is I don't know how many arrays come out of the first array.