Questions elseif/else if

elseif, as its name suggests, is a combination of if and else. Like else, it extends an if statement to execute a different statement in case the original if the expression evaluates to FALSE. However, unlike else, it will execute that alternative expression only if the elseif conditional expression evaluates to TRUE. For example, the following code would display a is bigger than ban equal to b or a is smaller than b. php.elseif/else

Learn With Quiz Get Free Certifications
Advertisement