While Loop Syntax (php)


#1



2. While Loop Syntax


Oops, try again. expected p:first-child text to be equal to The loop is running. but got And now it's done.


<!DOCTYPE html>
<html>
    <head>
		<title>Your First PHP while loop!</title>
	</head>
	<body>
    <?php
	$loopCond = true;
	while ($loopCond == true){
		//Echo your message that the loop is running below
		echo "<p>And now it's done.</p>";
		$loopCond = false;
	}
	
    ?>
    </body>
</html>


Help?


#2

my bad, i just don't read the instruction well... it says i needed to change the echo to: echo "

The loop is running.

";