I have a problem with the for-loop


I have a problem with the for-loop as well. I get a different error message though - "Parse error: syntax error, unexpected ')', expecting ';' on line 9

Then it just gets stuck. This is the code I've entered - it looks just like the example, and I can't find the problem.

// Write your for loop below!
for ($i = 0; $i < 101; $i = $i + 10) {
echo $i;

Stuck at "writing your first 'for' loop

Yeap, the lesson is bugged.


If you copy all of your loop and reload the page, then quickly copy and paste and click submit , it seems to work


No, it does not work at my lesson. Is there any method to get the point for this lesson? I've tried it for over an hour and for what I've read in this and other threads my code is correct. The PHP course is part of my university homework, so I need the full score.
Is there any other possibility to fix it? Thanks a lot!
(And sorry for my bad English. I'm not a native speaker.)