PHP Control Statements

If any statement executed depends on a condition is called conditional statement and also known as control structures.

PHP supports six types of control structures

1.       If
2.       If- else
3.       Nested if
4.       Else if ladder
5.       Ternary

6.       Switch

No comments:

Post a Comment