Friday, November 17, 2017

While Loop in PHP


<?php

$count = 1;
$message = 'I Love You!';

while($count<=10){
  echo $count. '.' .$message.'</br>';
  $count ++;
}

?>

No comments:

Post a Comment