While loop syntax First child error other answers not helping! please help


2 While Loop Syntax

Oops, try again. expected p:first-child text to be equal to The loop is running. but got The loop is running

	$loopCond = true;
	while($loopCond == true) {
		//Echo your message that the loop is running below
		echo "<p>The loop is running</p>";
		$loopCond = false;
	echo "<p>And now it's done.</p>";

never mind I figured out i forgot the period in the string


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.