Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array_merge

<?php 
$array1 = array(1,"dos",3,4,"cinco",9);
$array2 = array(1,"hola",3,"adios",5,6);			
//muestro los arrays
var_export ($array1);
var_export ($array2);
//uno los arrays y muestro el array resultante
$array_resultante= array_merge($array1,$array2);
var_export ($array_resultante);
?>
Source by www.anerbarrena.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+8 =