Advertisement Remove all ads
Advertisement Remove all ads
Distinguish Between
Differentiate if statement and if elseif statement.
Advertisement Remove all ads
Solution
If statement | if else if else stamen |
If-else if-else statement is a combination of if-else statement. | It consists of a single “if statement”. There is no “else” statement here. |
More than one statement can execute the condition based on user needs | Only one statement can execute |
If the condition is false, there are more alternatives are there | If the condition is false, there is no alternatives |
Concept: If Statement in PHP
Is there an error in this question or solution?
Advertisement Remove all ads
APPEARS IN
Advertisement Remove all ads