Infinit loop im beginner pls help


#1

Hello i started yesterday learning php language and im having problems with this exercise it says "Check out the while loop on line 9.

On line 9, add a condition inside the parentheses ( ) that makes the while loop run as long as $loopCond == true
Inside the curly braces, use echo to output "

The loop is running.

"
Then click Save & Submit Code to run your first PHP while loop!"







<?php
$loopCond = true;
while (){
//Echo your message that the loop is running below

	$loopCond = false;
}
echo "<p>And now it's done.</p>";
?>
</body>


#2

use while to compare values, like so:

while ($loopCond){
#Do stuff here
}