Visit the Official PHP Website
By James N Hitz
Beyond the Statement Block
Now we have a statement block. With that alone we cannot be able to control anything - remember a statement block is simply a grouping of statements. We will need to use the statement block along with some other constructs (remember the ones we mentioned) if we are to have any control at all.
There are two types of control structures:
Each group has a set of commands for each of which MUST be set IN A PARTICULAR way. There MUST NOT be any compromise on how they are applied. This are the rules. Programmers call these rules the Syntax. From this Lesson onwards (maybe even in the previous ones) we will refer constantly to the term syntax to refer to the rules