HTML & CSS
Article

PHPMaster: Using the Ternary Operator

By Amanda Steigerwalt

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

More:
PHP
Meet the author
Amanda Steigerwalt is a twenty-something software engineer living in Mountain View, CA. Her passion for web development began at a young age and so far has served her well in life. When she's not at work coding, she can often be found at home coding her own personal projects. Amanda also enjoys motorcycles, circus arts, and exploring Mountain View. One day she really, really hopes to get a puppy.

No Reader comments

Recommended

Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Get the latest in Front-end, once a week, for free.