• 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

    Default 08 - Logical Expressions ( IF Statement in PHP ) - PHP/MySQL in Urdu











    CODE used in Tutorial
    PHP Code:
    <?php

    /*$a = 4;
    $b = 3;

    if ($a > $b)
    {
        echo "Value of A is greater then value of B";
        $a+=5;
        echo "<br />";
        echo $a;
    }
    */
    $str1 "Apple";
    $str2 ="Mango";

    if (
    $str1 == "Apple")
    {
        echo 
    $str2;
        echo 
    "<br />";
        
    $str1 "Big Apple";
        echo 
    "The new value of str1 is ".$str1;
    }


    ?>
    Last edited by Їийоcёйт Кїllєґ; 10-27-2013 at 04:10 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

    Video Link Updated
    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
  •