title: ignoring saturday and sunday
body: <p>I am pulling in all the records from my customer database(mysql) for the last ten days<br>
      $offset1 =strtotime("-10 day");
           $date3=date("Y-m-d",$offset1);</p>
  
  <p>SELECT * FROM customers WHERE date between '$date3' and '$date' AND customer.custid = '$custid' ORDER by date DESC</p>
  
  <p>I would like to leave out the dates falling on a saturday or sunday and would like to put this in my query rather than the php</p>
  
  <p>If you can help thanks</p>