title: Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in
body: <p>I get following Error:</p>
  <blockquote>
  <p>Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in......</p>
  </blockquote>
  <p>Here is my Query:</p>
  <pre><code>$query = &quot;SELECT ListNumber FROM residential&quot;; 
  $result1 = mysql_query($query); 
  if (mysql_num_rows($result1) &gt;10){ 
      $difference = mysql_num_rows($result1) - 10; 
      $myQuery = &quot;SELECT * FROM `residential` ORDER BY `id` LIMIT 10,&quot;. $difference; 
      $result2 = mysql_query($myQuery); 
      while ($line = mysql_fetch_array($result2, MYSQL_BOTH))
  </code></pre>