June 2024
Beginner
938 pages
15h 59m
English
In contrast to the single-alternative decision structure, this type of decision control structure includes a statement or block of statements on both paths, as presented in the following flowchart fragment, given in general form.

If Boolean_Expression evaluates to true, the statement or block of statements 1 is executed; otherwise, the statement or block of statements 2 is executed.
The general form of the PHP statement is
In the next example, ...
Read now
Unlock full access