title: data between dates displays all heads
body: <p>I have three feilds Start Date  End Date HeadName   i looking to search data between dates which i am able to get but headname is not filtered.It displays all results </p>
  
  <pre><code>Sno HeadName    Date    Amount  BillNo  BillDate    PaymentMode BankName    ChequeNo    Remarks Center
  1   8   2013-10-18  0   0   2013-10-26  Select      0       Bhopal
  2   3   2013-10-20  0   0   2013-10-20  Select      0       0
  </code></pre>
  
  <p>Now this headname should be only 8 and 3 should not display
  My code is</p>
  
  <pre><code>    $res = mysql_query("SELECT  * FROM CashbookMaster WHERE `Date` BETWEEN '$start_time' AND '$stop_time'"  );
  while( $row = mysql_fetch_array($res) )
  </code></pre>