SyntaxFix
Write A Post
Hire A Developer
Questions
<?php for ($n = 0; $n <= 7; $n++) { echo '<p>'.($n + 1).'</p>'; echo '<p>'.($n * 2 + 1).'</p>'; } ?>
First paragraph:
1, 2, 3, 4, 5, 6, 7, 8
Second paragraph:
1, 3, 5, 7, 9, 11, 13, 15