This forum is now read-only. Please use our new forums at discuss.codecademy.com.

For Loops in PHP Forum

View Course » View Exercise

504 points
6b7868453711648e9f4fdf44f13f2fca?s=140&d=retro
Submitted by
manishgupta34
about 2 years ago

Oops, try again. Did you set the second part of your loop correctly (the part that ends the loop)

Solo For Loop!



<?php
// Write your for loop below!

for ($i = 0; $i < 101; $i = $i + 10)
{echo $i;
}

  ?>
</p>

0 votes

permalink

Look at the answer I previously provided for you. CodeAcademy: What's wrong with this code?

1216 points
55b6a9ad9113cb0a860003a0_218435195
Submitted by
Brian
about 2 years ago