PHP Projects

Hospital Management System In PHP

Project Name : Hospital Management System (Free Download)

Technology Implemented : Apache Server

Language Used                   :  PHP 5.62 (Developed in Core PHP)

Database                              :  My SQL

User Interface Design       :  HTML, AJAX,JQUERY,JAVASCRIPT

Web Browser                      :  Mozilla, Google Chrome, IE8,OPERA

Software                               :    XAMPP Server

Demo video——————————-

View DemoInstallation Guide

Hospital Management System is a web application for the hospital which manages doctors and patients. In this project, we use PHP and MySQL database.
The entire project mainly consists of 3 modules, which are

  • Admin module
  • User module
  • Doctor module

 
Admin module:

  1. Dashboard: In this section, admin can view the Patients, Doctors, Appointments and New queries.
  2. Doctors: In this section, admin can add doctor’s specialization and mange doctors (Add/Update).
  3. Users: In this section, admin can view users detail(who take online appointment) and also have right to delete irrelevant user.
  4. Patients: In this section, admin can view patient’s details.
  5. Appointment History: In this section, admin can view appointment history.
  6. Contact us Queries: In this section, admin can view queries which are send by users.
  7. Doctor Session Logs: In this section, admin can see login and logout time of doctor.
  8. User Session Logs: In this section, admin can see login and logout time of user.
  9. Reports: In this section, admin can view reports of patients in particular periods.
  10. Patient Search: In this section, admin can search patient with the help of patient name and mobile number.

Admin can also change his/her own password.
User module (patient):

  1. Dashboard: In this section, patients can view the his/her profile, Appointments and Book Appointment.
  2. Book Appointment: In this section, Patient can book his/her appointment.
  3. Appointment History: In this section, Patients can see his/her own appointment history.
  4. Medical History: In this section, Patients can see his/her own appointment history.

User can update his/her profile, change the password and recover the password.
Doctor module:

  1. Dashboard: In this section, doctor can view his/her own profile and online appointments.
  2. Appointment History: In this section, Doctor can see patient’s appointment history.
  3. Patients: In this section, doctor can manage patients (Add/Update).
  4. Search: In this section, doctor can search patient with the help of patient name and mobile number.

Doctor can also update his profile, change the password and recover the password.

How to run the Hospital Management System (HMS) Project

1. Download the zip file
2. Extract the file and copy hospital folder
3.Paste inside root directory(for xampp xampp/htdocs, for wamp wamp/www, for lamp var/www/html)
4. Open PHPMyAdmin (http://localhost/phpmyadmin)
5. Create a database with name hms
6. Import hms.sql file(given inside the zip package in SQL file folder)
7.Run the script http://localhost/hospital (frontend)
Login Details
Login Details for admin : admin/Test@12345
Login Details for Patient: test@gmail.com/Test@123
Login Details for Doctor: test@demo.com/Test@123

Disclaimer : This project is not for Commercial use.

Download Source Code(Hospital Management System)
Size: 14.0 MB
Version: V 4.0

Purchase Project Report

Purchase Project  Report in Rs 199 / $3


Recommended Tutorials for you


Tags

Anuj kumar

This is Anuj Kumar. I’m a professional web developer with 5+ years of experience. I write blogs in my free time. I love to learn new technologies and share with others. I founded PHPGurukul in September 2015. The main aim of this website to provide PHP, Jquery, MySQL, PHP Oops and other web development tutorials. .

782 Comments

  1. Hi sir https://uploads.disquscdn.com/images/b407b13c12bbdfbfdb36ddcdb11d9942cbe06f89bec6b4dac5d79a12d45582b3.jpg https://uploads.disquscdn.com/images/aa7b386c448bfcd6e6d8ef3ace8589b59c7f529f179a0a904b070b34cfe87143.jpg https://uploads.disquscdn.com/images/aa7b386c448bfcd6e6d8ef3ace8589b59c7f529f179a0a904b070b34cfe87143.jpg https://uploads.disquscdn.com/images/b23ae98b245b546ad3af854770bf54f97c7ab1270fb519f2eaa85d815c8e6504.jpg .
    I put the hospital folder in root directory. I created hms database on phpMyAdmin and also imported hms.sql in that database.
    Now, when I go to my browser and type http://localhost/hostpital/ it shows the first page.
    But, when I try to Login into Admin or Patient, it opens a page with no content on it.
    Also when I try to Login into doctor, it gives the following error :-
    Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocshospitalhmsdoctorincludeconfig.php:6 Stack trace: #0 C:xampphtdocshospitalhmsdoctorindex.php(3): include() #1 {main} thrown in C:xampphtdocshospitalhmsdoctorincludeconfig.php on line 6
    I have attached the images. Please reply ASAP.

      1. sir ,i am not able to do database configuration can you please tell me how to that.as due to this problem database is not connecting with frontend

  2. great work sir,
    I have one question. Why I can’t insert any data into database? For users table in database, I can’t add any new users. Please I hope you can answer my questions. And if it possible can you send me the source code with database configuration on this e-mail : masturamdanuar@gmail.com

      1. there is no error showed but when I want to add registration for new patient, it does not do anything and I look into database there is no new patient that I register. and can I add new admin, or new doctor? Because I try to make a new admin by insert it manually into database and it doesnt work.

  3. WHICH VERSION PHP SHOULD I DOWNLOAD TO RUN THIS PROJECT . I HAVE TRIED VARIOUS VERSION BUT IT GETTING ME PROBLEM EVERTYTIME. CAN U PLEASE PROVIDE DOWNLOAD LINK of which PHP VERSION SHOULD I DOWNLOAD DIRECTLY…..

  4. Hello, i have downloaded hms and configured correctly but now when i try to login to any account using the credentials given keeps getting invalid credentials…please assist. regrads

  5. Hi sir. I have a problem when i’m trying to open localhost/hospital. I already do all the configuration and import the database. But not successful because it stated Object not found! Error 404. Where should i look to fix this problem? Thank you. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button
Close
Close

Adblock Detected

Please disable your ad blocker! This site is supported by the advertisement Please disable your ad blocker to support us!!!