title: Fetching bit field with mysql_query()
body: <p>Here's my code:</p>
  
  <pre><code>$query = "SELECT Username, EmailVerified, Blocked FROM user";
  $result = mysql_query($query, $link);
  $row = mysql_fetch_assoc($result);
  print_r($row);
  </code></pre>
  
  <p>Field <code>Username</code> is <strong>string</strong> and <code>EmailVerified</code> and <code>Blocked</code> are of type <strong>bit</strong>. The line <code>print_r($row)</code> displays the value of <code>Username</code> field but not the other two. I tried mysql_fetch_object(), mysql_fetch_row(), mysql_fetch_array() also, but same result.</p>
  
  <p>Can't we fetch bit fields with mysql_query()?</p>