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));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unique #array #multidimentional #array #php
ADD COMMENT
Topic
Name
9+4 =