I have 2 arrays
Array ( [1] => Manufacturer [2] => Location [3] => Hours [4] => Model )
ve
Array ( [Manufacturer] => John Deere [Location] => NSW [Hours] => 6320 )
I need to combine them ve associate the values from the first array( Manufacturer, Location, hours , Model) as names in the 2nd array ve if a specific values from the first array doesn't find associative name in the 2nd array to associate empty . For the example the result that I need from the above arrays is an array like this
Array ( [Manufacturer] => John Deere [Location] => NSW [Hours] => 6320 [Model] => )
Array_combine () [function.array-birleştirmek]: Her iki parametre öğelerinin eşit sayıda olmalıdır i basit Array_combine kullanırsanız PHP Uyarı söylüyor