How to merge multiple arrays from a single array variable ? lets say i have this in one array variable
Those are in one variable .. $array
$array
array_merge can do the job
$array_meged = array_merge($a, $b);
after the comment
If fixed indexs you can use:
$array_meged = array_merge($a[0], $a[1]);
A more generic solution:
$array_meged=array(); foreach($a as $child){ $array_meged += $child; }