Code to print character of vowels using foreach loop?
$a = array("a", "e", "i", "o", "u");
echo "voewls are";
foreach ($a as $v) {
echo "<br />".$v;
}
Output:
voewls are
a
e
i
o
u
echo "voewls are";
foreach ($a as $v) {
echo "<br />".$v;
}
Output:
voewls are
a
e
i
o
u
print character of vowels using foreach loop?
Reviewed by MCH
on
March 01, 2014
Rating:
No comments: