DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+4 =
Submit