For and while loops in codecademy


It is impossible to make any progress in the php-course. All the loops will end in "Something went wront" although the code is correct.


Then just copy your code, reload the page and paste your code back in.
If it's still not working, your code is propably not correct and/or you created a infinte loop.


I had the same problem and noticed that the moment I type "while", it would crash and give me an error. To fix this, simply add "endwhile;". You might have to add that first before adding "while".