Tuesday, November 21, 2017

Do While Loop in PHP


<?php

$count = 1;
$message = 'Hello!';

do {
  echo $count.'. '.$message.'</br>';
  $count ++;
}

while($count<=10)

?>

No comments:

Post a Comment