O'Reilly logo

PHP for Teens by Maneesh Sethi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Program Flow: Control Structures

You are going to use what you learned earlier to develop some really cool pages and PHP programs. Control structures are part of that, taking a comparison statement and performing a comparison. If the comparison is true, special statements are executed. If the comparison is false, the statements are skipped.

In this chapter, where I go over loops and branching structures, you learn ways to make your programs interactive and how to get PHP to act upon data and perform different actions depending on input.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required