PHP Tutorial for Beginners 16 # Switch Statement

Php

Video is ready, Click Here to View ×


php switch vs if
php switch multiple case
php switch continue
php switch case or
php switch statement multiple case
php switch statement string
php switch statement example
php switch case multiple conditions
PHP switch case default
PHP Tutorial – Switch
PHP If Else and Switch Case
PHP switch case default

5 thoughts on “PHP Tutorial for Beginners 16 # Switch Statement

  1. Tera channel kamaal ka hai bhai. Thanks. Ive bamboozled thru 17 videos in a day so far. Ab main apne resume mein likh sakta hoon ke mujhe bhi PHP aata hain, chahe beginner level ka hi sahi. Thanks bro from the bottom of my heart!

  2. <?php

    $grade = 'b';

    switch ($grade) {
    case 'a':
    case 'A':
    echo "Excellent";
    break;
    case 'b':
    case 'B':
    echo "Very good";
    break;
    case 'c':
    case 'C':
    echo "Need improvement";
    break;

    default:
    echo "No grades found";
    break;
    }

    ?>

Leave a Reply

Your email address will not be published. Required fields are marked *