<?php
$var = 'I love PHP'; //initialize the string variable var
$i=0; // initialize i = 0
while($i<5){
echo $var.'<br>'; //printing 5 times the string var
$i++; //incrementing the value of i
}
?>
Subscribe to:
Post Comments (Atom)
All rights reserved||Using Deluxe Template By Klodian
No comments:
Post a Comment