<?php
$food=array("APPLE","PINEAPPLE","POMEGRANATE","TOMATO");
foreach($food as $item){
echo $item.'<br>';
}
?>
output :
APPLE
PINEAPPLE
POMEGRANATE
TOMATO
$food=array("APPLE","PINEAPPLE","POMEGRANATE","TOMATO");
foreach($food as $item){
echo $item.'<br>';
}
?>
output :
APPLE
PINEAPPLE
POMEGRANATE
TOMATO