<!DOCTYPE html>
<html>
<head>
<title>Your First PHP while loop!</title>
</head>
<body>
<?php
$loopCond = true;
while ($loopCond){
//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>";
?>
</body>
</html>
No comments:
Post a Comment