title: If statement with condition isset and comparing not working together
body: <p>I'm having a problems with making <code>if</code> statements:</p>
  
  <pre><code>&lt;?php if (isset($detail) == 1) { ?&gt;
      // code if detail variable exists and is equal to 1
  &lt;?php } else { ?&gt;
      // code if detail variable doesn't exist or is not equal 1
  &lt;?php }?&gt;
  </code></pre>
  
  <p>For some reason this condition doesn't work. How could I fix the <code>if</code> condition, so it will work?</p>