Advertisement
ujiajah1

loopphp

Aug 20th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.20 KB | None | 0 0
  1. <html>
  2.   <head>
  3.     <title>Leap Years</title>
  4.   </head>
  5.   <body>
  6.     <?php
  7.       for ($leap = 2004; $leap < 2050; $leap = $leap + 4) {
  8.         echo "<p>$leap</p>";
  9.       }
  10.     ?>
  11.   </body>
  12. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement