Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get unique array from multidimentional array by value in php

$uniquePids = array_unique(array_map(function ($i) { return $i['pid']; }, $holder));
 
PREVIOUS NEXT
Tagged: #unique #array #multidimentional #array #php
ADD COMMENT
Topic
Name
3+5 =