#22. Nested Loop In PHP

 Nested Loop


Working:


Run Code:

<?php

for($a = 1; $a <=100; $a= $a+10){

for($b = $a; $b < $a + 10; $b++){

echo $b . " ";
}

echo "<br>";

}

?>

Comments

Popular posts from this blog

#30. PHP Recursive Function