mysql_fetch_array gives a warning
<p>I have problems with <code>mysql_fetch_array</code>. I get a warning: </p>

<pre><code>mysql_fetch_array() expects parameter 1 to be resource, boolean given in D:\wamp\www\bb.php on line 6 bool(false) 
</code></pre>

<p>Here is my code:</p>

<pre><code>if (isset($_POST['chapter'])AND isset($_POST['verse'])){
  $db=mysql_connect("localhost","fruanthony","admin");  
  mysql_select_db("gths",$db);  
  $results=mysql_query("SELECT * FROM bible where verse=".$_POST['verse']."AND            chapter=".$_POST['chapter']);  
  while($a=mysql_fetch_array($results)){    
   echo $a['info'] ;
   echo "&lt;br&gt;";  
  }  
}
</code></pre>
