PHP Front To Back – [Part 13] Ternary & Shorthand Syntax



In this video we will look at the PHP ternary operator and some alternative syntax for if statements as well as loops.

CODE: Code for this video
http://www.traversymedia.com/downloads/phpsandbox/phpsandbox11.zip

EDUONIX COURSES: Please use affiliate links from website below
http://www.traversymedia.com/eduonix-…

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:
http://www.paypal.me/traversymedia
http://www.patreon.com/traversymedia

FOLLOW TRAVERSY MEDIA:
http://www.facebook.com/traversymedia

http://www.linkedin.com/bradtraversy

source