Teach Yourself PHP in 10 Minutes [Electronic resources]

Chris Newman

نسخه متنی -صفحه : 126/ 21
نمايش فراداده

Lesson 3. Flow Control

In this lesson you will learn about the conditional and looping constructs that allow you to control the flow of a PHP script.

In this chapter we'll look at two types of flow control: conditional statements, which tell your script to execute a section of code only if certain criteria are met, and loops, which indicate a block of code that is to be repeated a number of times.