Output $i as long as $i is less than 6.
$i
Click here to try again.
$i = 1; w3exercise_input_no_0 { echo $i; $i++; } w3exercise_input_no_1 ($i < 6);
w3exercise_input_no_0
w3exercise_input_no_1
Completed 0 of 47 Exercises:
This will reset the score of ALL 47 exercises.
Are you sure you want to continue?
Share your score on facebook: