I would like to know if there is a way to convert two Array keys into one Array key?
As an example the Array would look like:
[0] => '12345'
[1] => 'New'
[2] => 'York'
how can I combine [1] => 'New'
and [2] => 'York'
into [1] => 'New York'
?
All I was found is array_merge
that combines two Arrays. Even on how to concaternate two Array keys I could not find anything.
Thanks alot.