I have a 2-dim array:
$values = array( ... array("domain"=>$domain,"auth"=>$auth) ... );
I need to know how many times in this rather large array the key 'auth' is equal to 'X' (without quotes)
$count=0; foreach($values as $value) if($value['auth']=='X') ++$count;
Or am I missing something?