Thursday, 18 August 2016

PHP Basics : While Loop

Hi guys,

Today lets see while loop in php, it is too simple

Lets begin your code







<?php 

$value = 1; 

while($value <= 50) 
{
    echo "$value <br>";

    $value++;


?>

Its simple and effective.

Its cool right ?




No comments:

Post a Comment