title: How to select only available time and date for doctor appointment booking system in PHP
body: <p>I have only one table named <strong>appointment_master</strong> in MySQL in which I store the booking date and time entered by the patient. Appointment time is fixed means patient can book an appointment every 10 minutes means if one patient has booked appointment at 10:00 AM then other can book at 10:10 AM and so on. Now if an appointment is booked at 10:00 AM and when other patient try to book an appointment the date and time slot option 10:00 AM should not be displayed to other patient in the form select option tag. </p>
  
  <p>My table is as follows:</p>
  
  <pre><code>name   lastname age gender   email            phone_no   app_date    app_time   
  ramesh  ahir    30  Male    rames@gmail.com   9824758745 2019-01-18  10:20:00   
  jitesh  thacker 35  Male    jitesh@gmail.com  9824758745 2019-01-21  10:30:00
  </code></pre>