Hello,

i have an example array below:

e.g $myarray=array(1, 3, 4, 4, 2, 4, 6, 6, 5);

i need to count how many values are equal to 4 and how many are greater than 5.. using php.. such that

IF  i have at least two values equal to 4 and atleast one value greater than 5, THEN {execute some code}

your help will be appreciated :)

--
Julie