PHP Learning : Whileloop - Publik Talk

Breaking

An informative website for every one.

Post Top Ad

Post Top Ad

Wednesday, August 2, 2017

PHP Learning : Whileloop

Description:

The while loop executes a block of code while a condition is true..

Sample Code:
<?php
$i=1;
while($i<=5)
{
echo "The number is ".$i."<br />";
$i++;
}
?>


Output:


No comments:

Post a Comment

Post Top Ad