Take the habit of posting your problems in a new thread instead of replying directly to an already created topic. But since you might be impatient of wanting this exercise to be completed, I'll tell you how to do it.
You are generating an infinite loop, causing the browser to crash.
- You set
- You create a loop that is going to echo some text as long as the condition is true
- The condition is always true because you didn't change the value of
false in the loop.
- The page takes too long to load because he have to generate an infinite amount of text because the condition in the loop is always true and the browser crashes.
Summary of what I just said
$loopCond variable inside the loop.