PHP Tutorial - 5 - if/elseif/else

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
71,477
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 3, 2008

Go to http://thenewboston.com/ if you need any help or have any questions. I will answer them all there!

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:

Top Comments

  • Wow! You're a really big help!

  • if($scaredOfMic == TRUE)

    $speakLouder++;

    elseif($whisperingIntoMic == TRUE)

    $dontMakeVideos = '1';

    else

    die();

    }

    amidoingitrite?

see all

All Comments (83)

Sign In or Sign Up now to post a comment!
  • i think you alll lucky cuse bucky, ya my english my be .'bad but i learnd so now im glad

    he is good teacher all dont hate a player

    hate the game

  • @MrChrisfranko Don't give him crap like that he is teaching you something. What if the tables were turned and you were teaching him something and he made a comment regarding the way he talks. Think about

  • @MrChrisfranko

    Nope, it's wrong. Seriously you made syntax errors.

    Looks to me like -

    if ($YouFailToBeCocky == TRUE)

    $GetTheFuckOfYouTube = "yes";

    else

    $ShutUpAndBeGratefulForFreeTut­orials++;

  • Wooooow really cool tutorial. I learnd here beter then in school . You were talking only 3 min. But professor did 45 and it explains = 4% . You are really good .

  • @n0t1337

    These were like the first videos he ever made, and I think he had some problems in his life or something too, because on the first videos he had a recent google search "helping hand cancer" and "cancer information and support".

    He said it in a live show that when he started making videos, he wasn't that good and after everybody's advice, he became better. He also said everyone's first videos are bad, but we get better, he is a completely different person now & he has 170,000 subs.

  • @ MultiExtrovert:

    missing the " at the end of this line bro:else {echo "I am busy right the moment, please leave your message";}

  • //this bullcrap didn't work....

    $dost = "Rashid";

    if ($dost=="Rashid") {echo "Salam bhai sahab";}

    elseif ($dost=="Shakeel") {echo "Salam, kahan hy, kya kr rha hy";}

    elseif ($dost=="Father") {echo "Salam, han g ki theek thaak ho?";}

    elseif ($dost=="csn") {echo "Salam, how are you";}

    else {echo "I am busy right the moment, please leave your message;}

  • is php letter-case sensitive?

  • You're a bit of a douche, I mean sort of helpful, but not helpful enough for me to endure your constant, irritating (albeit rather half-assed) insults.

  • nice tutorial thanks.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more