Hospital Management System Using PHP With Source Code

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
  • HOME PAGE

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

Download

78
Leave a Reply

avatar
25 Comment threads
53 Thread replies
5 Followers
 
Most reacted comment
Hottest comment thread
29 Comment authors
Fabian RosShivani Kotianquanodinkanaka Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
magoiga
Guest

what is the username and password for the system?

Naseeb Bajracharya
Guest

ADMIN
Username : admin
Password :[email protected]

Patient
Username : [email protected]
Password : [email protected]

Doctor
Username : [email protected]
Password : [email protected]

We had mentioned all these Login details in “Readme.txt” file. You should have opened it!!

socdaal
Guest

send plasce source code HOSPITAL MANAGEMENT SYSTEM
[email protected]

Naseeb Bajracharya
Guest

download it!!
There’s a green download button

Arvi Ingal
Guest
Arvi Ingal

Hi.. can i ask you how to fix the config.php?

Naseeb Bajracharya
Guest

open config.php using any text editor. There you can see MySQL hostname, username, password. You just have to replace those with your own hostname, username, and password!

Saba
Guest
Saba

Doctor login r admin login ka password r username incorrect bta rahy

Naseeb Bajracharya
Guest

sorry, what language are you speaking? what are you trying to say? doctor login r admin login password username incorrect….? You mean about login details or what?

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?

Naseeb Bajracharya
Guest

yeah. .you can!! it free to use for educational purpose

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

yap i do this.

Farjana Islam
Guest
Farjana Islam

hms.sql but still it is not working

Naseeb Bajracharya
Guest

no. the database name should be “hms” not hms.sql

Farjana Islam
Guest
Farjana Islam

there is an problem arise when i add doctor in a admin panel after submitting all the field and another problem is when i sign in as a patient and took my appointment then time selection is not working properly thus unable to take appointment

Naseeb Bajracharya
Guest

everything works perfectly I rechecked it!
after adding a doctor from Admin panel a window alert appears, nothing displays but the data is recorded. You can simply go to URL localhost/hospital and Login from Patient. Then book an appointment. After clicking on Time you just enter numbers and set AM/PM.

Farjana Islam
Guest
Farjana Islam

okay…

Ankit
Guest
Ankit

can u plzz help me…to see patient login page…

Naseeb Bajracharya
Guest

I have provided a solution on your other comments do check it!

Farjana Islam
Guest
Farjana Islam

hms.sql

Naseeb Bajracharya
Guest

no. the database name should be “hms” not hms.sql

Farjana Islam
Guest
Farjana Islam

yes i just talk about imported file formate in xampp…can u check the project again plz.. i think connect db – file is not here

Naseeb Bajracharya
Guest

you said you name the database as “hms.sql” right??
actually, the database name should be “hms” and then you have to import that “hms.sql” file on to that database.

Farjana Islam
Guest
Farjana Islam

thanks….now it is working

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

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

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

Ankit
Guest
Ankit

its not working sir…

Naseeb Bajracharya
Guest

I have provided a solution on your other comments do check it!

yefrizal
Guest
yefrizal

Yup, i am facing the same thingg too…

Naseeb Bajracharya
Guest

go to URL: http://localhost/hospital/hms/user-login.php
check if it displays or not!!

yefrizal
Guest
yefrizal

yes..it is because of the PHP version…hehee..tq

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:\xampp\htdocs\Hospital\hospital\hms\doctor\include\config.php:6 Stack trace: #0 C:\xampp\htdocs\Hospital\hospital\hms\doctor\index.php(3): include() #1 {main} thrown in C:\xampp\htdocs\Hospital\hospital\hms\doctor\include\config.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

Sorry my bad, i am developing using safari browser, it doesn’t appear, but when i use chrome or firefox…it is so perfect..

Naseeb Bajracharya
Guest

do use Mozilla or chrome, it will work perfectly 🙂

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

Teknopen
Guest
Teknopen

Can’t wait to here te update…tqvvvvm…

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.

Saba
Guest
Saba

Is ka doctor login r admin login is name r password sy open nahi hu rahy invalid username r password likha ata ha plz tell me about this

Naseeb Bajracharya
Guest

sorry, can’t get it. which language are you talking?

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

Naseeb Bajracharya
Guest

what did you name the database?

Karamat
Guest
Karamat

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

Naseeb Bajracharya
Guest

first, make sure about the database connections

xcasd
Guest
xcasd

add doctro are not working
in admin area -ADD DOCTOR SPECIALIZATION are not working
in patient area – datepicker are not working
php version is 5.6.3

how to fix this

Naseeb Bajracharya
Guest

We just rechecked it. Everything seems to work out fine! Add Doctor Specialization works perfectly, it gets added after submitting the name and in patient area, while booking an appointment, just click on the date format. The date picker will display.

Naseeb Bajracharya
Guest

You can send your screenshot at [email protected]

sahana
Guest
sahana

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

Naseeb Bajracharya
Guest

There’s a Green Download Button below h2 text “Download 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

Naseeb Bajracharya
Guest

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

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.

Naseeb Bajracharya
Guest

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

rounak
Guest
rounak

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

Naseeb Bajracharya
Guest

After creating database, import the SQL file which we have provided and then go to localhost/hospital

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:\xampp\htdocs\hospital\hospital\hms\doctor\include\config.php:6 Stack trace: #0 C:\xampp\htdocs\hospital\hospital\hms\doctor\index.php(3): include() #1 {main} thrown in C:\xampp\htdocs\hospital\hospital\hms\doctor\include\config.php on line 6

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

odin
Guest
odin

mysql_connect() has been removed in PHP 7.
You can use mysqli_connect()
or simply switch to PHP 5.6.3

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