One array is 35 elements (mysql column names)
Array ( [1] => ID…)
second is only few elements:
Array ( [1] => 63 [2] => REF213211 [3] => aaa [7] => Warszawa [8] => Wola [12] => 100 [14] => 1 [15] => 100 [35] => 1 )
I need to combine first array as keys for second array
Please help
You could use a simple
foreachlike this:This will combine the keys in
$keyswith the values in$values. If there is no corresponding value in$valuesit will result innull.