HTML & CSS
Article
By Amanda Steigerwalt

PHPMaster: Using the Ternary Operator

By Amanda Steigerwalt
Help us help you! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

You’re probably already familiar with PHP’s if statement. It’s very similar to its counterparts in many other programming languages and represents one of the most fundamental concepts in programming. The if statement is easy to understand and easy to master.

Visit link:
PHPMaster: Using the Ternary Operator

--ADVERTISEMENT--

More:
PHP
Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the latest in Front-end, once a week, for free.