PHP Projects

Hospital Management System Using PHP With Source Code

Project: Hospital Management System

– To Download It For Free (Scroll Down)

Features :

  1. Login Systems (Patients/Admin/Doctor)
  2. Book Appointment
  3. Manage Patients, Doctors
  4. Add Doctor Specialization

Here, User has to Login as Patient, Doctor OR Admin to use the system. From Patient’s login, a user can Book an appointment with any doctor and check appointment history. From Doctor’s login, a user can view Appointments. From Admin’s login, a user has access to each and everything. Admin can manage doctors, patients, Add Doctor specialization, and check Doctor’s and Patient’s session logs. This system makes easy management of hospital for the patients as well as doctors.The design of this project is pretty simple and the user won’t find it difficult to understand, use and navigate.

How To Run?

You’ll need XAMP Server or WAMP Server. Put the file inside “c:/wamp/www/” or “c:/xampp/htdocs/”. Go To “localhost/phpmyadmin” in any browser and create Database (name according to SQL file).In that Database, Import the SQL file and finally go to URL: “http://localhost/file_name/phpfilename
Don’t Forget To create a database and import SQL file to run.

DOWNLOAD HOSPITAL MANAGEMENT SYSTEM USING PHP WITH SOURCE CODE : CLICK THE BUTTON BELOW

143
Leave a Reply

avatar
55 Comment threads
88 Thread replies
5 Followers
 
Most reacted comment
Hottest comment thread
66 Comment authors
ClaraKirankarl balbuenacodeprojectsNags Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
magoiga
Guest

what is the username and password for the system?

hassan
Guest
hassan

There is an error in the database I am not able to import it.

Naseeb Bajracharya
Guest

we have checked it twice and it works perfect, there’s no such error in the current database. Can you please mail your Error Screenshot at [email protected]
we’ll see it!

Jalil
Guest
Jalil

Should i make the database to the myphp local host?

Naseeb Bajracharya
Guest

yeah. .and name it according to the database sql file

xtatic studios
Guest
xtatic studios

great everything works fine guys… am i free to make it even more epic by developing it further?

Arnav Kumar
Guest
Arnav Kumar

I m encountering d error of could not connect database.. help me

Naseeb Bajracharya
Guest

we have provided the database file. you should create a database naming (according to SQL file) and import that database. without creating a database the project won’t run!!

Farjana Islam
Guest
Farjana Islam

when i click patient , doctor or admin link then the system says – could not select database….what can i do ? I have import the sql file

Naseeb Bajracharya
Guest

what did you name Database?

Farjana Islam
Guest
Farjana Islam

hms.sql

Vivek Mishra
Guest
Vivek Mishra

Sir please help. I have created the database with hms name. But when I go to patient login I am not able to see the login screen or login into dashboard.

Naseeb Bajracharya
Guest

then what does the system displays??
go to URL: http://localhost/hospital/hms/user-login.php
check if it works or not!!

Ankit
Guest
Ankit

hii…when i run my doctor file in a localhost…i get an error called FATAL ERROR…those error i mentioned below… can u please help me to solve this error…

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocsHospitalhospitalhmsdoctorincludeconfig.php:6 Stack trace: #0 C:xampphtdocsHospitalhospitalhmsdoctorindex.php(3): include() #1 {main} thrown in C:xampphtdocsHospitalhospitalhmsdoctorincludeconfig.php on line 6

Naseeb Bajracharya
Guest

configure in config.php, insert your own Localhost’s username, password
and if it still doesn’t work then you must be using PHP 7, try installing PHP 5.6.3

teknopen
Guest
teknopen

the datepicker in appointment form does not appear calendar

Naseeb Bajracharya
Guest

date picker appears, just check at the side there’s an up and down button manage date from there!

teknopen
Guest
teknopen

This apps is really help me and it is greatly free…

Can u help me on this:
1: how can patient, doctor and admin upload their picture
2. how can i make the profile picture appear based on the user itself

Tq

Naseeb Bajracharya
Guest

currently, there are no such features to add profile pictures. but we might update that feature in upcoming days

Anto
Guest
Anto

This is good work, but the code is outdated, and the JS is unresponsive. I am trying to fix as best I can, there is more to be done, however, all in all good work.

digu
Guest
digu

Ty Admin

Karamat
Guest
Karamat

when i click patient , doctor or admin link then nothing show ….what can i do ? I have import the sql file

Karamat
Guest
Karamat

i am still not able to see login screen…system display is blank…tell me what should i do ??

sahana
Guest
sahana

i can’t get the source code of hospital management system

sahana
Guest
sahana

its good

Olive
Guest
Olive

I really like this project hospital management system, I have followed all the instruction given in “read me first” but when I click the links in patient and admin login, I get a blank page and for the link in doctor I get an error which I don’t know how to describe.
please any help.
thank you

Naseeb Bajracharya
Guest

The database name should be “hms” not hms.sql.
Sorry for this mistake in “README.txt” file!

After setting the database connection, if it displays a blank page then configure in config.php, insert your own Localhost’s username, password
and if it still doesn’t work then you must be using PHP 7, try installing PHP 5.6.3

supriya
Guest
supriya

Database is getting connected but the login pages is not fetching the username and password from the database . getting invalid username and password

supriya
Guest
supriya

Database is getting connected but the login pages are not fetching username and password from the database,getting invalid username and password.

rounak
Guest
rounak

once i have created the database in php net what to do next

cet
Guest
cet

the data is accessible from database but the data that i am inserting into database is not getting updated what to do????

kanaka
Guest
kanaka

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocshospitalhospitalhmsdoctorincludeconfig.php:6 Stack trace: #0 C:xampphtdocshospitalhospitalhmsdoctorindex.php(3): include() #1 {main} thrown in C:xampphtdocshospitalhospitalhmsdoctorincludeconfig.php on line 6

iam getting this error in this code can u please help me

quan
Guest

help the home page is working but the other child pages are not

Shivani Kotian
Guest
Shivani Kotian

After typing in the URL http://localhost/hospital/hms/user-login.php nothing shows up, please help

jun
Guest
jun

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /storage/ssd5/433/6406433/public_html/hms/doctor/include/config.php:6 Stack trace: #0 /storage/ssd5/433/6406433/public_html/hms/doctor/index.php(3): include() #1 {main} thrown in /storage/ssd5/433/6406433/public_html/hms/doctor/include/config.php on line 6

Soso
Guest

how many tables in database ??

Sha
Guest
Sha

Hi..i need your help.my appointment history not working very well.After make a booking appointment the details not appear in history.i already follow your code

Mahesh
Guest
Mahesh

Hi bro i have one doubt in this project,
if i open all logins in single *tab* its works perfectly but the thiung is if i login patient and doctor at a time in 2 tabs one is patient and another is doctor then its not retrieve the data and its not showing username in header also kindly help me bro asap.

maurice
Guest
maurice

good morning, i have created the db named hms, and has imported the sql file, however, if try to visit the url i’m getting the http 404 error message

Karn
Guest
Karn

Sql file is not open why?

Frank
Guest
Frank

I can not login to the patient, doctors and admin, what can I do???

Pramod Maurya
Guest
Pramod Maurya

your code is not working in PHP 7.1.7 version but its working in 5.6.39 . kindly tell me solution for this.

Peter_Maina
Member
Peter_Maina

Have you used bootstrap in this project?

Peter_Maina
Member
Peter_Maina

Have you used any bootstrap?

mambo254
Member
mambo254

Hello Hi, I am having troubles with the project i get errors while uploading the sql file please assist me on this

praneetha2530@gmail.com
Guest

after i imported the sql file in the database
it is not working..it’s like “could not find database”

praneetha2530@gmail.com
Guest

we cant see the appoinment history or patient history

saranya
Guest
saranya

I’m getting a error while importing sql file

saranya
Guest
saranya

i imported the file but its not working

sonu
Guest
sonu

Hello Sir,Can you send me project report plzzz.
my Email ID is :- [email protected]

ilker
Guest
ilker

Hi, Is this project written for MySQLi version. I’m connecting the database. But user entries have errors due to mysqli

Anjali Saini
Guest
Anjali Saini

database is create then import the file but still that given the error
(
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocshospital1hospitalhmsdoctorincludeconfig.php:6 Stack trace: #0 C:xampphtdocshospital1hospitalhmsdoctorindex.php(3): include() #1 {main} thrown in C:xampphtdocshospital1hospitalhmsdoctorincludeconfig.php on line 6)
i also check the connection file but there is no error find

love soni
Guest
love soni

project is not working i import sql file but project is not working i click “click hear” button then showing me code

om samanta
Member
om samanta

sir when i click on the admin login and patients then it does not working ,means it will not open the next page……..most problem is that when i click on doctors login then i have seen the error……,,,,,,so please check it….
error is—–Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocsvirus8hmsdoctorincludeconfig.php:6 Stack trace: #0 C:xampphtdocsvirus8hmsdoctorindex.php(3): include() #1 {main} thrown in C:xampphtdocsvirus8hmsdoctorincludeconfig.php on line 6

karl balbuena
Guest
karl balbuena

same problem here… did you find a solution for this error?

kathleen marcelo
Guest
kathleen marcelo

Hi,

why is it that when i try to open the admin/doctor/patients this error “localhost is currently unable to handle this request.” is showing up. can you please advise what i need to do?
thanks

clifford
Guest
clifford

I am done with the creation of the database but can’t log on to the dashboard

Mukesh Kumar
Guest
Mukesh Kumar

plz send synopsis hospital management system

oluwatimilehin
Guest
oluwatimilehin

hi, am having issue logining in, pls can you help with that

ibrahimanam
Member
ibrahimanam

I keep having Invalid username or password error when I login into (doctor login and patient login) but admin login works fine… tried the username given in READMEFILE but still doesn’t work… I think patient and doctor login was not implanted in the project.. please reply

ibrahimanam
Member
ibrahimanam

database saved as has not has.sql also using php 5.6.3 still not working

vinu
Guest
vinu

pls helf database not connect