-
How to remove duplicate values from a multi-dimensional array in PHP?
over 9 years ago
over 9 years ago
The array_unique() function removes duplicate values from an array. If two or more array values are the same, the first appearance will be kept and the other will be removed.
Example :
Output :
0 Comment(s)