Ternary Operators in PHP
After I had to re-search for the syntax for the 3rd time, I finally decided to stick a link here for a page that sums it up nicely. http://davidwalsh.name/php-shorthand-ifelse-using-ternary-operators Thanks David!
April 30, 2008
From the archive. I've left this one just as I wrote it.
After I had to re-search for the syntax for the 3rd time, I finally decided to stick a link here for a page that sums it up nicely. http://davidwalsh.name/php-shorthand-ifelse-using-ternary-operators Thanks David!