Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove duplicates from array

$array = array(1, 2, 2, 3);
$array = array_unique($array); // Array is now (1, 2, 3)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #duplicates #array
ADD COMMENT
Topic
Name
1+2 =