Code has been added to clipboard!

PHP while Loop

Example
<?php 
  $xyz = 1;
  while($x < 5)
  {     
      echo "Current value: $xyz <br>";
      $xyz++;
  } 
?>