Doctor Appointment System using PHP/MySQLi with Source Code



The Doctor Appointment System with Source Code is a PHP project that can request a booking for a doctor's appointment. This program was created using these languages: PHP, HTML, MySQLi, and Javascript.

The system is basically easy to use, the patient needs to register an account first to be able to set an appointment. The patient has to fill up some needed information and select a doctor that suits their needs in order to process a request. The admin will register the doctors' system credentials and details. The doctors can list all of his/her appointments that booked by the patient. The doctor can also view the details of the patient.

The admin manages all the management by monitoring the daily transaction, assigning doctors, and tracking the records of patients.



  • Manage Doctors
  • View List of Patients
  • View List of Feedbacks
  • View List of Appointments


  • View List of Appointments
  • Manage Account Details
  • Search Patient Information


  • Search Medical Doctors
  • Book an Appointment
  • View and Manage Appointments
  • Submit Feedback
  • Manage Account Details

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download and Extract the provided source code zip file.


  1. Open the XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. If you are using XAMPP, copy the extracted folder and paste it into the xampp's "htdocs" directory. If you use WAMP, paste it inside the "www" directory.
  3. Locate the SQL file known as "projectmms.sql". This file is located inside the "db" directory of the extracted folder.
  4. Open a browser and browse the PHPMyAdmin. (http://localhost/phpmyadmin)
  5. Create a new database naming "projectmms".
  6. Import the SQL file in your newly created database.
  7. Browse the web application. (http://localhost/doctor_appointment_system) and for the admin side (http://localhost/doctor_appointment_system)

Admin Access

Username: admin
Password: admin

Installdation Demo

That's it, you can now explore the features and functionalities of the Doctors Appointment System project. I hope this project will help you with what you are looking for and for your future PHP projects

Enjoy Coding!!

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byEugene Lee (not verified)on Fri, 04/24/2020 - 22:49

Hi, I did everything you said but the link is not opening. http://localhost/Doctor%20Appointment%20System/ It shows: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhost Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.4 Please help me. Thanks
Submitted byGhostbath (not verified)on Mon, 04/27/2020 - 22:42

In reply to by Eugene Lee (not verified)

change your htdocs folder name, don't use this Doctor%20Appointment%20System/. change to something else and then open http://localhost/YourFolderName/
Submitted byAli salad (not verified)on Tue, 05/12/2020 - 15:41

username and password is not working

Add new comment