title: SQL - SELECT with WHERE statement return false despite present field in table
body: <p>I am very confused about this (returning false):</p>
  
  <pre><code>$sql = "SELECT * from tbl_user WHERE group = 'abc'";
  $res = mysql_query($sql);
  
  if(mysql_num_rows($res) &gt; 0) {          
      $response = array('status' =&gt; '1');
  } else {
      $response = array('status' =&gt; '0'); // ---&gt; what I get back
      die("Query failed");
  }
  </code></pre>
  
  <p>...despite the fact the field <strong>group</strong> is present in mySQL database. Even more strange is that the following return the value of <strong>group</strong>:</p>
  
  <pre><code>$SQL = "SELECT * FROM tbl_user";
  $result = mysql_query($SQL);
  while ($db_field = mysql_fetch_assoc($result)) {
      print $db_field['group']; // ---&gt; returns 'abc'
  </code></pre>
  
  <p>When I execute a WHERE clause with every other fields of my table excepting group (for example WHERE name = 'ex1' AND ID=1 AND isAllowed=0 (and so on...), everything is fine. As soon as I insert <strong>group</strong> = 'abc', I get nothing...</p>
  
  <p>This makes me mad. If anyone could help... (I am running a local server with MAMP).</p>
  
  <p>Thanks a lot!</p>