I was wondering if anyone could help me out, I\'m trying to find a script that will check my entire array and remove any duplicates if required, then spit out the array in t
My PHP's rusty, but something like this should work:
function makeUniqueBidArray(&$array) { $tempArray = array(); foreach($array as $bidArray) { foreach($bidArray as $bid) { if (isset($tempArray[$bid->bid]) { unset($bid); } else { $tempArray[$bid->bid] = $bid->name; } } } }