1 / 4
Computer Service
2 / 4
Networking Service
3 / 4
Web Development Service
4 / 4
Software Development Service

 <?php

 $food = array('Healthy'=>array('Salad', 'Milk', 'Coconet', 'Ground_nut'),

              'Unhealthy'=>array('Alcohol', 'Beer', 'Ice_cream'));

 

foreach($food as $element => $inner_element){

  echo '</br><strong>'.$element.'</strong></br>';

 

foreach($inner_element as $item){

  echo $item.'</br>';

}

}

?>


Share On: