Answers for "php get distinct multidimensional array by key value"

PHP
0

get unique array from multidimentional array by value in php

$uniquePids = array_unique(array_map(function ($i) { return $i['pid']; }, $holder));
Posted by: Guest on January-30-2021

Code answers related to "php get distinct multidimensional array by key value"

Browse Popular Code Answers by Language