title: How to select all values from a column except a value in Mysql?
body: <p>For example I have the query:</p>
  
  <pre><code>$legend= mysql_num_rows(mysql_query("SELECT * FROM  users WHERE rank = 'Legend' AND status='Alive' AND userlevel &lt;&gt; '2'"));
  </code></pre>
  
  <p>I need to know how you do the excluding sign, because it seams that <code>&lt;&gt;</code> is not correct.</p>