Friday, August 8, 2014

For Loop in PHP

<?php

$text = 'I love you';

for($count = 1; $count <= 10; $count++){
  echo $count. ' '.$text. '!</br>';
}

?>


No comments:

Post a Comment