This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Marjorie W. Gann
over 10 years

Parse error: syntax error, unexpected T_WHILE on line 11

Parse error: syntax error, unexpected T_WHILE on line 11

That is the error I get (though it does pass) for the following code, in which line 11 is the first line of the loop:

Answer 52840559abf8213a0100220e

3 votes

Permalink

I had the same problem. I always forget how important ‘ ; ‘s are. I was missing a ‘ ; ‘ on line 10. hope that helps

points
Submitted by Michael Jones
over 10 years

1 comments

Marjorie W. Gann over 10 years

Ugh! I can’t believe it! Thank you.