Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to remove duplicate values from a multidimensional array in php

We used this to de-duplicate results from a variety of overlapping queries.

$input = array_map("unserialize", array_unique(array_map("serialize", $input)));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #duplicate #values #multidimensional #array #php
ADD COMMENT
Topic
Name
7+3 =