Count array by parse value of array

foreach($course as $c){
    echo $c['course_name']."(".count($c['trainee'])." trainees)";
    echo "<br />";
}

Browse More Popular Posts

Leave a Comment