Answers for "php merge to array"

PHP
5

php combine arrays

$output = array_merge($array1, $array2);
Posted by: Guest on June-03-2020
0

merge two arrays one as key to another php

// two arrays one become keys and second becomes values
array_combine ( array $keys , array $values );
Posted by: Guest on November-02-2020

Browse Popular Code Answers by Language