Using PHP’s alternate syntaxes
Monday, January 25th, 2010
If you’ve ever worked with PHP you’ll be more than familiar with the use of if/elseif/else conditional statements, these statements often become large and unweildy, especially when HTML is mixed in with PHP, causing a problems with code readability. There are a couple of alternate ways to write these statements which can improve your code. [...]
read more