here is my array :
$pid = array("id"=>array(
"098"=> array(
array("size"=>25,"variant"=>"0925","qty"=>1),
array("size"=>26,"variant"=>"0926","qty"=>2)
),
"099"=> array(
array("size"=>25,"variant"=>"0726","qty"=>1)
)
)
);
can i count how much that array with different id? can i count how much that size array per id?
i just wanna see like this :
ID = 2
size of 098 = 2
size of 099 = 1
$pid['id']['098']? First value or second?"098" => array(array(...), array(...)), this is one way of grouping the same "id"