title: explain a snippet
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3737139/reference-what-does-this-symbol-mean-in-php">Reference - What does this symbol mean in PHP?</a><br>
    <a href="https://stackoverflow.com/questions/1080247/what-is-the-php-operator-called-and-what-does-it-do">What is the ?: Operator and what does it do?</a><br>
    <a href="https://stackoverflow.com/questions/2063480/the-3-different-equals">The three different equals (=, ==, ===)</a></p>
  </blockquote>
  
  
  
  <p>Can some explain how this works?</p>
  
  <pre><code>$xblgold = $xblgold == 1 ? "Yes" : "No";
  echo $xblgold;
  </code></pre>