PHP Switch statement
In this lesson, you will learn how to use the PHP switch statement which lets you an easy alternative of writing multiple if-else statements. PHP switch Statement PHP switch statement compares a variable or an expression against many different values and executes an associated code block if the comparison results as Boolean value true. Example... » read more