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

Amanda Steigerwalt
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

Related books & courses
Available now on SitePoint Premium

Preview for $1