While Loop Syntax (php)


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>
		<title>Your First PHP while loop!</title>
	$loopCond = true;
	while ($loopCond == true){
		//Echo your message that the loop is running below
		echo "<p>And now it's done.</p>";
		$loopCond = false;



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

The loop is running.