Learn PHP: Ternary operator



The ternary operator allows for short, inline IF statements to be performed and can tidy up your code and save time.

Watch the full series at http://www.youtube.com/playlist?list=PLfdtiltiRHWFD41D_LDomY1Fb-O9MtFqq

Subscribe to phpacademy and enjoy more free web development tutorials!

Our channel
http://youtube.com/phpacademy

Official website
http://phpacademy.org

Support Forum
http://phpacademy.org/forum

Follow us on Twitter!


source

Reply

Do NOT follow this link or you will be banned from the site!