i have an array like this:
array(3) {
[0]=> array(4) { ["user_id"]=> int(1) ["date"]=> string(10) "16-05-2014" ["time"]=> string(8) "21:19:50" ["product"]=> int(70) }
[1]=> array(4) { ["user_id"]=> int(1) ["date"]=> string(10) "16-05-2014" ["time"]=> string(8) "21:21:05" ["product"]=> int(76) }
[2]=> array(4) { ["user_id"]=> int(1) ["date"]=> string(10) "16-05-2014" ["time"]=> string(8) "21:22:30" ["product"]=> int(70) }
}
How can i user array_count_values with 2 lots of data from the array?
I would like to count where user_id = 1 and product = 70
Thanks