Advertisement
Guest User

Fixed

a guest
Apr 29th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Your First PHP while loop!</title>
  5. </head>
  6. <body>
  7. <?php
  8. $loopCond = true;
  9. while($loopCond == true){
  10. //Echo your message that the loop is running below
  11. echo "<p>The loop is running.</p>";
  12. $loopCond = false;
  13. }
  14. echo "<p>And now it's done.</p>";
  15. ?>
  16. </body>
  17. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement