Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Andreas Lindner
Added: Mar 16, 2018 4:31 AM
Views: 8
Tags: no tags
  1. $i = 1;
  2. // 10x
  3. while ($i <= 10) {
  4.     echo $i . "<br>";
  5.     $i++;
  6. }