Doing a var_dump($_GET)

I get this:

array(9) { [["C"]=>  array(1) { [0]=>  string(24) "22234,174886,18657,18678" } ["FB"]=>  array(1) { [0]=>  string(11) "7500,181888" } ["SB"]=>  array(1) { [0]=>  string(0) "" } ["TB"]=>  array(1) { [0]=>  string(0) "" } ["SS"]=>  array(1) { [0]=>  string(0) "" } ["OF"]=>  array(1) { [0]=>  string(0) "" } ["DH"]=>  array(1) { [0]=>  string(0) "" } ["SP"]=>  array(1) { [0]=>  string(0) "" } ["RP"]=>  array(1) { [0]=>  string(0) "" } }

I need to find the total count of numbers within the array.
For example...in this one there are 6 ID's (22234,174886,18657,18678,7500,181888)
Any help would be appreciated.

    Thanks...that got me going in the right direction.

    $get_array = array(C,FB,SB,TB,SS,OF,DH,SP,RP);
    
    foreach ($get_array as $pos) 
    	{
        if (empty($_GET[$pos][0]))
        	{
        	$cct == "0";
       		}
        else 
    		{
     		$cct = count(explode(',', $_GET[$pos][0])); 
    		$sum += $cct;  
    } } if ($sum > 3) { echo '<font color="red">You\'ve selected more than 3 players. Please try again</font>'; } else { echo "You've selected $sum players."; }
      Write a Reply...