title: mysql_fetch_array() always return null
body: <p>I am try to fetch data from the database</p>
  
  <pre><code>$check_sql = 'SELECT * FROM table;
  $check_result = mysql_query($check_sql);
  echo $check_result;
  $result = mysql_fetch_array($check_result);
  </code></pre>
  
  <p>when I <code>echo $check_result</code>, it shows 'Resource id 2', which i think it means there exists a return array, but when I use <code>mysql_fetch_array</code>, it will return a null value, and I don't know why...<br>And I found that no matter whether there exists the resules or not, <code>echo $check_result</code> would always shows 'Resource id#2', does this sentence in mysql mean 'no results' ? Could someone help???</p>