PHP Basics: Switch
Whеn IF statements аrе becoming complex, switch offers a block style match tο dο a block οf code depending οn thе participation expression.
Whеn IF statements аrе becoming complex, switch offers a block style match tο dο a block οf code depending οn thе participation expression.
i dint now about default:
No problem, least I can do. I want to thank you immensely for this video series. Two days ago, I knew nothing about PHP, and now I have written a script which pulls numbers off of several webpages and tallies them.
Why am I doing this? I am helping with a fundraiser, but the fundraiser is spread over several websites. This lets us see exactly how much money has been raised, updating every 60 seconds.
Thank you again!
Thanks for letting me know! I’ve amended this now…
By the way, you’ve made a typo in the title of this video
Well, yeap I’m learning by your videos now :]
YOu are a cool guy and I really delight in watching your videos… keep it up!
Also for those with the error like the guy below me make sure you spell your switch proclamation “switch”
I haven’t used switch since basic… I honestly forgot what it did and how to use it. This video was fantastic! You clarified it better than my basic teacher!
is swich spelled that way in the UK or is it Switch? just checking your spelling so people can find the video