Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
The foreach loop
SUBMITTED BY:
henry1874w
DATE:
June 12, 2017, 4:16 p.m.
FORMAT:
Text only
SIZE:
180 Bytes
Raw
Download
Tweet
HITS:
392
Go to comments
Report
<!DOCTYPE html>
<html>
<body>
<?php
$colors = array("red", "green", "blue", "yellow");
foreach ($colors as $value) {
echo "$value <br>";
}
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus