hi friends .. tel me is there any function available in PHP to count erray elements row wise... for 2Dimntianal array.
thanking you in advance
regards, nehal
You want to [man]count[/man] elements in some way? Or count the elements in the first element?
<?php // this might not complete code. you might need to modify it // $my_2d_array foreach($my_2d_array as $key) $count_row_wise[$key] = count($my_2d_array[$key]); ?>