while loop in php

technical talkiess
0

 <?php

$i =1;

while($i < 50){

echo $i ."<br>";

$i++;

}

?> 


result incremnt by 3


<?php

$i =1;

while($i < 50){

echo $i ."<br>";

$i+= 3;

}

?> 



Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)