banner image
Sedang Dalam Perbaikan

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
print character of vowels using foreach loop? print character of vowels using foreach loop? Reviewed by MCH on March 01, 2014 Rating: 5

No comments:

Powered by Blogger.