Advertisements
Advertisements
प्रश्न
Write the usage of Switch Statement in PHP.
टीपा लिहा
उत्तर
- The switch statement is used to perform different actions based on different conditions.
- Switch statements work the same as if statementsbut they can check for multiple values at a time.
shaalaa.com
If elseif else Statement in PHP
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
APPEARS IN
संबंधित प्रश्न
Define if...elseif....else Statement in PHP.
Write the Syntax of Switch statement.
Write is the purpose of if elseif else statement.
Write Short notes on Switch statement.
Discuss in detail about Switch statement with an example.
Explain the if elseif else statement. With suitable example.