programming-examples/php/Basics/Print an array using foreach in php.php
2019-11-18 14:44:36 +01:00

11 lines
107 B
PHP

<?php
$arr = array(10,20,30,40,50);
foreach($arr as $v)
{
echo $v;
echo "<br>";
}
?>