title: filter table mysql using multiple colums also between
body: <p>how to join <strong>BETWEEN</strong> statement and <strong>AND</strong> statement using multiple category?</p>
  
  <pre><code>SELECT * FROM quick_inquiry WHERE inquiry_time BETWEEN '$start' AND  '$end' AND
    inquiry_language LIKE '%$language%' AND
    service_country LIKE '%$country%' AND
    category LIKE '%$category%' AND
    replied LIKE '%$replied%'
  </code></pre>