I started the loop section last night and anytime I clicked save and submit it freezes up and I have to reload the page. Here is my code. I'm 99% sure it's not an infinite loop. I even tried it without $W_coasters = false; before the endwhile line but I getting "Parse error: syntax error, unexpected $end on line 17" and freezes up the same.
I read elsewhere on the PHP Q/A board that Codecademy keeps freezing at various points of the loops lesson for other users, others say it's bugs in the PHP language, yet others say it's bugs with the course. Is it an issue with my code? PHP? or Codecademy bugs? Thank you!
<!DOCTYPE html> <html> <head> <title>A loop of your own</title> <link type='text/css' rel='stylesheet' href='style.css'/> </head> <body> <?php $W_coasters = "wet"; while($W_coasters): echo "The coasters are wet. No party tonight!"; $W_coasters = false; endwhile; ?> </body> </html>