• The Facebook Platform

Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2010
    Location
    Lahore, Pakistan
    Age
    25
    Posts
    3,818
    Points
    6,772.51
    Rep Power
    10000

    new_new 08 - Logical Expressions ( Switch Condition in PHP ) - PHP/MySQL in Urdu

    Logical Expressions ( Switch Condition in PHP )

    In This Tutorial, you will learn "What is Switch Condition in PHP and how can we use Switch Condition in PHP"











    PHP Code Used in Tutorial

    PHP Code:
    <?php

        $a 
    =3;
        switch(
    $a)
        {
            case 
    1
            echo 
    "Value of A is Equal to 1";
            break;
            
            case 
    2
            echo 
    "Value of A is Equal to 2";
            break;
            
            case 
    3
            echo 
    "Value of A is Equal to 3";
            break;
            
            default:
            echo 
    "Value of A is Not 1, 2 or 3 ";
            break;
            
            
        }

    ?>
    Last edited by Їийоcёйт Кїllєґ; 10-27-2013 at 05:13 AM.
    Find Me On Social Networks

    Facebook | Twitter | Google+


  2. #2
    Join Date
    Jan 2010
    Location
    Lahore, Pakistan
    Age
    25
    Posts
    3,818
    Points
    6,772.51
    Rep Power
    10000

    Default

    Tutorial Uploaded o dailymotion
    Find Me On Social Networks

    Facebook | Twitter | Google+



 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •