MySQL Tutorial 60 – Group By




HELP ME! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2.

Original source


10 responses to “MySQL Tutorial 60 – Group By”

  1. $month = date("m");
    $holiday = holiday();

    function holiday(){
    if ($month = 01){return "New Year";}
    if ($month = 02){return "Valentine's Day";}
    if ($month = 03){return "St. Patrick's Day";}
    if ($month = 04){return "Easter";}
    if ($month = 07){return "4th of July";}
    if ($month = 10){return "Halloween";}
    if ($month = 11){return "Thanksgiving";}
    if ($month = 12){return "Christmas";}
    else{return "day for everyone";}
    }

    if ($month != 12){echo "Happy ";}
    else {echo "Merry ";}
    echo $holiday;

Leave a Reply