ternary operators in php?
<blockquote>
  <p><strong>Possible Duplicates:</strong><br>
  <a href="http://stackoverflow.com/questions/3737139/reference-what-does-this-symbol-mean-in-php">Reference - What does this symbol mean in PHP?</a><br>
  <a href="http://stackoverflow.com/questions/160218/to-ternary-or-not-to-ternary">To ternary or not to ternary?</a>  </p>
</blockquote>



<p>Can someone please explain the advantages/disadvantages or using a ternary operator instead of an if/else statement. Where and when should I use each?</p>
