PHP else Keyword
In this article, you will learn about the else keyword in PHP. The else keyword in PHP specifies a block of code that should run when the condition of an if statement is not met. examples of the ELSE keyword Example 1. In this example, we run some code when a condition is not met.