While Loops in PHP


#1



https://www.codecademy.com/en/courses/web-beginner-en-5YvPF/0/3?curriculum_id=5124ef4c78d510dd89003eb8#


My error message says "Parse error: syntax error, unexpected ';' on line 14"
I have a feeling that this lesson is just messed up somehow, because I copied and pasted the example into the code as well but it still said it was faulty. If anyone could give me a reason as to the failure of the code, I would appreciate it. I am also not super worried about it, I just like getting a 100% in the lessons.
Thanks!!!


$value = 0;
while($value < 5)
{
      echo "<p>The value is ".$value."</p>";
      $value = $value + 1;
}


#2

Hi try to refresh the page..