title: If $variable = 0 not working
body: <pre><code>if($_POST['user_admin'] = 0){ $acct_type = "a standard"; }
  elseif($_POST['user_admin'] = 1){ $acct_type = "an administrator"; }
  echo $acct_type;
  echo $_POST['user_admin'];
  </code></pre>
  
  <p>Whether <code>$_POST['user_admin']</code> is 0 or 1, <code>$acct_type</code> still returns "an administrator" Why?</p>