array_merge() function merges 1 to N arrays together
The function's syntax is: array array_merge (array array1, array array2, . . ., array arrayN)
<?
$arr_1 = array ("s", "g", "l");
$arr_2 = array ("b", "c", "l");
$arr_3 = array ("p", "o");
$arr_4 = array_merge ($arr_2, $arr_1, $arr_3);
print_r($arr_4);
?>
Related examples in the same category