Hi there, I am trying to do the following...
I am trying to merge two arrays in php in sequence. I have tried the array_merge() but no luck on that one.
Does anyone have any ideas on merging two arrays like a deck of cards? Such as:
$array1 = {1,3,5,7};
$array2 = {2,4,6,8};
And then merge the two arrays so that final array would be $final_array = {1,2,3,4,5,6,7,8};
Any ideas?
Thanks all.