Ok I have an array thats created in a loop session:
$countuid[] += $uid;
I want to ask if the array key $uid matches more than once in the array .......'do something'
I cant work it out Ive been looking at 'array_key_exists' but cant seem to find the right syntax for the if statement.
My array is coming out as: Array ( [0] => 54 [1] => 54 [2] => 54 [3] => 55 [4] => 55 )
But as I said its in a session so that will change.