Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- </head>
- <body>
- <?php
- for ($i=1; $i<=10; $i++)
- {
- echo "$i <br>";
- }
- $i=1;
- while ($i<=10)
- {
- echo "$i <br>";
- $i++;
- }
- $i=1;
- do
- {
- echo "$i <br>";
- $i++;
- }
- while ($i<=10);
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement