1 => array:8 [
"NUMBER" => "000883011HDUER"
"NUMBER2" => "000883011HCUER"
"WEIGHT" => "104900"
"VPE" => "1800"
"VIN" => "1"
"NL" => "08"
"TITLE" => "Sitz"
"TEILEART" => ""
]
function unique_multidim_array($array, $key) {
$temp_array = array();
$i = 0;
$key_array = array();
foreach($array as $val) {
if (!in_array($val[$key], $key_array)) {
$key_array[$i] = $val[$key];
$temp_array[$i] = $val;
}
$i++;
}
return $temp_array;
}
$details = unique_multidim_array($details,'id');
count($array) === count(array_unique(array_column($array, 'NUMBER')));