Write a program to count 5 to 15 using PHP loop


code:-

<?php
$count = 5;
while($count <= 15)
{
  echo $count;
  echo "<br>" ;

  $count++;
}
?>


output:
5
6
7
8
9
10
11
12
13
14
15

Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post