+ 2
Looping in php
<?php $colors = array("red","green","blue","yellow"); foreach ($colors as $value) { echo "$value <br>"; } ?>
2 Answers
+ 1
This will be the Output
red
green
blue
yellow
+ 1
yes bro
<?php $colors = array("red","green","blue","yellow"); foreach ($colors as $value) { echo "$value <br>"; } ?>