Ad Code

print character of vowels using foreach loop?


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
Reactions

Post a Comment

0 Comments