English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Write the usage of Switch Statement in PHP. - Computer Applications

Advertisements
Advertisements

Question

Write the usage of Switch Statement in PHP.

Short Note

Solution

  1. The switch statement is used to perform different actions based on different conditions.
  2. 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
  Is there an error in this question or solution?
Chapter 6: PHP Conditional Statements - Evaluation - PART – II [Page 111]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 12 TN Board
Chapter 6 PHP Conditional Statements
Evaluation - PART – II | Q 7. | Page 111
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×