PHP: Solution 2 Introduction | Static vs. Dynamic Websites | Using PHP on RCI or Eden | A Simple PHP Program | Practice 1 | Loops | Practice 2 | Functions | Practice 3 | Conditionals | Practice 4 | PHP and Online Forms | Practice 5 | PHP and E-mail | Practice 6 | Conclusion
The solution to practice 2 is:
<html> I like <? for ($i=0; $i < 5; $i++) { echo "<br>"; } ?> to space <? $i=0; while ($i < 7) { echo "<br>"; $i++; } ?> things <? for ($i=0; $i < 6; $i++) { echo "<br>"; } ?> out </html>
edseries@nbcs.rutgers.edu