I have a question about arrays.
I have made an array of id's.
The array looks a little like this.
$iIds[0] = 12
$iIds[1] = 24
$iIds[2] = 25
$iIds[3] = 25
$iIds[4] = 25
$iIds[5] = 30
Now i need code to see if any of the values are in the array multiple times. Then, if the value is in the array 3 times, inject the value into another array.
I tried using array_count_values() , but it returns with the values as keys.
Can anyone help me with this?