Looping in php | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

Looping in php

<?php $colors = array("red","green","blue","yellow"); foreach ($colors as $value) { echo "$value <br>"; } ?>

29th Jan 2017, 5:11 PM
Atul kumar
Atul kumar - avatar
2 Réponses
+ 1
This will be the Output red green blue yellow
29th Jan 2017, 5:57 PM
Arpan Lunawat
Arpan Lunawat - avatar
+ 1
yes bro
29th Jan 2017, 6:11 PM
Atul kumar
Atul kumar - avatar