alin19 Posted June 9, 2008 Share Posted June 9, 2008 i can't remember what was the method to get all uniques values from an array $x[0]=test $x[1]=test21 $x[2]=test $x[3]=test21 $x[4]=test21 $y="...."($x); $y[0] will be "test" $y[1] will be "test21" Link to comment https://forums.phpfreaks.com/topic/109385-uniques-values-from-array/ Share on other sites More sharing options...
kenrbnsn Posted June 9, 2008 Share Posted June 9, 2008 When you can't remember a function, just go to the PHP Manual and search for something similar like array unique and you see array_unique. Ken Link to comment https://forums.phpfreaks.com/topic/109385-uniques-values-from-array/#findComment-561043 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.