How to echo out sequential numbers? [closed]

Here is a reference to a for – loop (here: http://php.net/manual/en/control-structures.for.php)

the first example in this reference is:

/* example 1 */

for ($i = 1; $i <= 10; $i++) {
    echo $i;
}
  1. $i <= 10 need to be adjusted by you
  2. echo $i; will output 1..10 in the example (also needs to be replaced by you)

Leave a Comment