title: PHP checkbox always returns on
body: <p>I have this checkbox in my form:</p>
  
  <pre><code>&lt;input type="checkbox" name="private" id="private" /&gt;
  </code></pre>
  
  <p>When I submit my form, the checkbox always returns on, even when I didn't check it.</p>
  
  <pre><code>echo $_POST['private'] //result is always returns on
  
  $private = isset($_POST['private']) ? 1 : 0; //result is 1 always
  </code></pre>
  
  <p>What am I doing wrong?</p>