0% found this document useful (0 votes)
58 views33 pages

Visvesvaraya Technological University: Belgaum, Karnataka-590 014

This document discusses an internship report on hostel management submitted by Kiran M to fulfill the requirements for a Bachelor of Engineering degree. The report includes an introduction to the project, literature review on technologies used like PHP, HTML, CSS and MySQL. It also discusses the existing manual hostel management system, proposed computerized system and its features. System requirements, design using ER diagram and database are explained. Screenshots of the implemented hostel management system are provided.

Uploaded by

Raju Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views33 pages

Visvesvaraya Technological University: Belgaum, Karnataka-590 014

This document discusses an internship report on hostel management submitted by Kiran M to fulfill the requirements for a Bachelor of Engineering degree. The report includes an introduction to the project, literature review on technologies used like PHP, HTML, CSS and MySQL. It also discusses the existing manual hostel management system, proposed computerized system and its features. System requirements, design using ER diagram and database are explained. Screenshots of the implemented hostel management system are provided.

Uploaded by

Raju Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 33

Visvesvaraya Technological University

Belgaum, Karnataka-590 014

An Internship Report on
“HOSTEL MANAGEMENT”
Submitted in partial fulfillment of the requirement for the 8th Semester

Bachelor of Engineering in Computer Science and Engineering

Submitted by

KIRAN M
1SP18CS034

Under the Guidance of


Asst. Prof: Mrs. Jayakumar B L
Dept. of CSE

Department of Computer Science and Engineering


S.E.A. COLLEGE OF ENGINEERING & TECHNOLOGY,
BANGALORE - 49
2021 – 2022
S.E.A. COLLEGE OF ENGINEERING & TECHNOLOGY,
BANGALORE - 49

Department of Computer Science and Engineering

CERTIFICATE
Certified that the project work entitled “HOSTEL MANAGEMENT SYSTEM” carried
by KIRAN M, a bonafied student of S.E.A. College of Engineering &Technology, in
partial fulfillment for the 8th semester of Bachelor of Engineering in Computer Science
and Engineering department of the Visvesvaraya Technological University, Belgaum
during the year 2021-2022. It is certified that all corrections/suggestions indicated for
Internship report have been incorporated in the Report deposited in the departmental
library. The project report has been approvedas it satisfies the academic requirements in
respect of Project work prescribed for the said Degree.

Signature of the Guide Signature of the HOD Signature of the Principal


Asst. prof Jayakumar B L Dr. B Loganayagi Dr. B. VENKATA NARAYANA

Signature of Internal Examiner Signature of External Examiner


ACKNOWLEDGEMENT

Firstly, I thank the Management late SHRI. A KRISHNAPPA, Chairman SEA


College of Engineering and Technology for Providing Necessary infrastructure and creating
good environment.

I would like to express my profound thanks to our respected principal


Dr. B. VENKATA NARAYANA for then couragement and support given by him.

I would like to express my sincere thanks to our respected Dr. B Loganayaki


HOD of Computer science and engineering department, for his assistance and
guidance.

I am thankful for the support rendered by my Internship coordinator Mr.


JAYAKUMAR B L Asst. Prof of Computer science and engineering department, for his
valuable suggestions.

I am also obliged, to the faculty members of CSE Department who rendered


their valuableassistance for the Seminar.

And finally, I would like to express my heart full gratitude to my friends and all those
whohave extended their help throughout my Internship.

KIRAN M

(1SP18CS034)
ABSTRACT
. "HOSTEL MANAGEMENT SYSTEM" is software developed for managing various
activities in the hostel. For the past few years the numbers of educational institutions are
increasing rapidly. Thereby the numbers of hostels are also increasing for the
accommodation of the students studying in this institution. And hence there is a lot of
strain on the person who are running the hostel and software's are not usually used in this
context. This particular project deals with the problems on managing a hostel and avoids
the problems which occur when carried manually.

Identification of the drawbacks of the existing system leads to the designing of


computerized system that will be compatible to the existing system with the system which
is more users friendly and more GUI oriented.

.
INDEX

CHAPTER TOPIC PAGE NO.

1. Introduction
1.1 Module 01
1.2 System Analysis 02
2. Literature Survey
2.1 PHP 03
2.2 HTML 04
2.3 CSS 06
2.4 MYSQL 07
3. System Analysis
3.1 Existing System 08
3.2 Proposed System/Solution 08
4. System Requirements

4.1 Hardware Requirements 09

4.2 Software Requirements 09

5. System Design

5.1 ER Diagram 10

5.2 Database Design 11

6 Implementation

6.1 Source Code 15

7 Screenshots

7.1 XAMPP Server 21

7.2 PHP My Admin Page 21

7.3 Admin Login Page 22

7.4 Admin Profile Page And Password Change 22

7.5 Admin Manage Courses 23


7.6 Student Hostel Management 23

7.7 User Access Log 24

7.8 User Login Page 24

8 Conclusion 25
HOSTEL MANAGEMENT
CHAPTER 1

INTRODUCTION
The project titled as “Hostel Management System” is developed in PHP as front end
and SQL as back end. The main aim of the project is to make a complete solution for Hostel
Management. This project has Admin login module, User registration and User login module.

1.1 Module
 Admin Login
 User Registration
 User Login

Admin Login

The admin can login into the by Hostel Management System giving the
credentials. Itcontains following sub modules:
 Manage Users- The admin can view registered user’s details.

 Manage Rooms- The admin can view or manage the student registered rooms

 Logout- The admin cans logout from the admin page

 Change Password- The admin can change his/her password.

User Registration –

A new user can sign up into the system by giving their full name, mobile number,
email id and set a new password to register. After the registration, the user can login to the
portal using their credentials.

User Login

The registered user can login into the Hostel Management system by giving the credentials.

DEPT OF 2021- Page


HOSTEL MANAGEMENT

1.2 System Analysis


1.2.1 Existing System

The existing system is not user friendly. The records are made in paper and the book
can be managed by huge number of peoples. The records have to be stored in a very large
spacious room. The records cannot be making many copies.

Limitations of Existing system

 Time Consuming
 Human error is liable
 Difficulty faced at the time of organizing the whole data
 The records have to be recorded in notebook
 Notebooks can be altered by any persons at any time

1.2.2 Proposed System

The proposed system is going to replace the existing system toll with its disadvantages
removed along with the improved performance. The proposed system is designed such that it
will determine proper solution for the problems in the existing system. The proposed system
is GUI (Graphical User Interface) oriented. It contains many database activities like adding
user data, deleting user data, viewing user data and reporting user data.

Features of Proposed System

 All user details are recorded in the database easily. The records can be managed by
the administrator.
 The proposed systems don’t need huge human power to manage the system.
 The reports can be easily searched using the proposed system.

DEPT OF 2021- Page


HOSTEL

CHAPTER 2

LITERATURE SURVEY
2.1 PHP

PHP started as a small open-source project that evolved as more and more people
found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in
1994.

 PHP is a recursive acronym for "PHP: Hypertext Pre-processor".


 PHP is a server-side scripting language that is embedded in HTML. It is used to
dynamic content, databases, session tracking, even build entire e- commerce sites.
 It is integrated with a number of popular databases, including MySQL, PostgreSQL,
Oracle, Sybase, Informix, and Microsoft SQL Server.
 PHP is pleasingly zippy in its execution, especially when compiled as an Apache
module on the Unix side. The MySQL server, once started, executes even very
complex queries with huge result sets in record-setting time.
 PHP supports a large number of major protocols such as POP3, IMAP, and LDAP.
PHP4 added support for Java and distributed object architectures (COM and
CORBA), making n-tier development a possibility for the first time.
 PHP is forgiving: PHP language tries to be as forgiving as possible.
 PHP Syntax is C-Like.

Common Uses of PHP

 PHP performs system functions, i.e., from files on a system it can create, open, read,
write, and close them.
 PHP can handle forms, i.e., gather data from files, save data to a file, through email
you can send data, return data to the user.
 You add, delete, modify elements within your database through PHP.
 Access cookies variables and set cookies.
 Using PHP, you can restrict users to access some pages of your website.

DEPT OF 2021- Page 3


HOSTEL

2.2 HTML

 HTML stands for Hypertext Markup Language, and it is the most widely used
language to write Web Pages.
 Hypertext refers to the way in which Web pages (HTML documents) are linked
together. Thus, the link available on a webpage is called Hypertext.
 As its name suggests, HTML is a Markup Language which means you use HTML to
simply "mark-up" a text document with tags that tell a Web browser how to structure
it to display.
 Originally, HTML was developed with the intent of defining the structure of
documents like headings, paragraphs, lists, and so forth to facilitate the sharing of
scientific information between researchers.
 Now, HTML is being widely used to format web pages with the help of different tags
available in HTML language.

Features in HTML5

 The DOCTYPE declaration for HTMl5 is very simple, <!DOCTYPE html>


 The character encoding<meta charset=” UTF-8”>
 New function for embedding audio(<audio>), video(<video>), graphics(<svg>
and<canvas>)
 Client-side data storage
 Interactive documents
 New structural elements <article>, <header>, <footer>, <nav>, <section> and <figure>
 New from control calendar, date, time, email, URLs, search
 Java script enhancement
 HTML Geolocation, HTML Drag and Drop, html local storage, HTML Application
Cash, HTML Web Workers, HTML SSE.

Applications of HTML

HTML has been used widely and effectively. Below is the list of Uses of HTML language.

 Web pages development: HTML is heavily used for creating pages that are displayed
on the world wide web. Every page contains a set of HTML tags including hyperlinks
which are used for connecting to other pages. Every page that we witness, on the world
wide web, is written using a version of HTML code.

DEPT OF 2021- Page 4


HOSTEL

 Web document creation: Document creation on the internet is dominated by HTML


and its basic concept via tag and DOM i.e., document object model. HTML tags are
inserted before and afterward or phrases to locate their format and location on the page.
A web document consists of three sections: title, head, and body. Head includes the
information to identify the document, including title and any other important keyword.
A title can be seen on the browser’s bar and body section is the main portion of the
website visible to the viewer. All the three segments are designed and created by the
uses of HTML tags. Every section has their own specific set of tags, which are
dedicatedly rendered keeping the head, title and body concepts in a loop.
 Internet navigation: This is one of the most important uses of HTML which is
revolutionary. This navigation is possible by utilizing the concept of Hypertext. It is
basically a text which refers to other web pages or text and when user click on it, would
navigate to referenced text or page. HTML is heavily used to embed the hyperlink
within the web pages. A user can easily navigate within the web pages and between
websites as well, which are located on different servers.
 Responsive images on web pages: At the elementary level in applications of HTML,
queries can be set to utilize the images, which are responsive in nature. With the src set
attribute of img element in HTML, and combining it with picture element, a developer
can fully control how the user will render an image. Now different types of an image
with size variation can be loaded by using the img element. Rules can be easily set with
the picture element, we can declareing element with default source and then for every
case, a source can be provided.
 Data Entry support with HTML: HTML5 standard and set of APIs can be used to
support data entry level of work. As browsers implement new HTML5 standards,
developers can simply add the attributes to the tag which indicate required fields, text,
data format etc. HTML5 has come up with several new attributes to drive on-screen
keyboards, validation, and other data-entry experiences so that end-user can have a
better data-entry.
 Game development usage: Before the advent of HTML5, game development was an
exclusive domain of Flash and Silverlight. Since browsers support new specifications for
HTML5 including CSS3 and light-fast JavaScript engine to drive a new rich experience,
HTML5 can bring the reality of game development possible, which was earlier the forte
of Flash and Silverlight. Every single feature of APIs need not be implemented, but most
appropriate ones can be utilized while eliminating the rest of the features.

DEPT OF 2021- Page 5


HOSTEL

2.3 CSS

Style Sheets, fondly referred to as CSS, is a simple design language intended to


simplify the process of making web pages presentable. CSS handles the look and feel part of
a web page. Using CSS, you can control the color of the text, the style of fonts, the spacing
between paragraphs, how columns are sized and laid out, what background images or colours
are used, layout designs, variations in display for different devices and screen sizes as well as
a variety of other effects. CSS is easy to learn and understand but it provides powerful control
over the presentation of an HTML document. Most commonly, CSS is combined with the
mark-up languages HTML or XHTML.

The cascade part of CSS means that more than one style sheet can be attached to a
document, and all of them can influence the presentation. For example, a designer can have a
global style sheet for the whole site, but a local one for say, controlling the link color and
background of a specific page. Or, a user can use her own style sheet if she has problems
seeing the page, or if she just prefers a certain look.

Advantages of CSS

 Increases Download Speed: By taking the appearance mark-up out of the html file you
decrease the html file size and significantly decrease the download time of that file.
 Makes Pages More Accessible: Your pages become more accessible. By separating the
styling (CSS) from the content and structure (HTML), you are well on your way to
satisfying Accessibility requirements. This is an important thing to consider, if you are
creating sites that might be used by the visually impaired.
 Multiple Style Sheets Cascade into One: Style Sheets allow style information to be
specified in many ways. Styles can be specified inside a single HTML element, inside the
element of an HTML page, or in an external CSS file. Even multiple external Style Sheets
can be referenced inside a single HTML document.
 Reduces Time: It is much easier to update pages. It is much faster to update a page that
uses styles over using tags and the like. With CSS, you can decide how headings should
appear, and enter that information once. Every heading in every page that is linked to this
style sheet now has that appearance. Want to make every heading of level 3 obviously

DEPT OF 2021- Page 6


HOSTEL

different from those of level 2? Edit the style sheet, and every such heading now has the
altered appearance. Consider how much time you will save. With cascading style sheets,
whole organizations can share a small number of style sheets, ensuring consistency across
the site with no need for constant updating and editing to accommodate changes. How do
Style Sheets Work? Style sheets are just text files, or text embedded in the head of an
HTML document, that help separate content from appearance. The content of a page goes
into an HTML file and the appearance goes into a style sheet. But how does this entire
end up as a web page in your browser? Think of a style sheet as a set of instructions,
suggesting to a web browser how to draw a page. The style sheet suggests how the
browser should display the page based on rules you define in the style sheet.

2.4 MYSQL

MySQL is an Oracle-backed open source Relational Database Management System


(RDBMS) based on Structured Query Language (SQL). MySQL runs on virtually all
platforms, including Linux, Unix and Windows. Although it can be used in a wide range of
applications, MySQL is most often associated with web applications and online publishing.

MySQL is an important component of an open source enterprise stack called LAMP.


LAMP is a web development platform that uses Linux as the operating system, Apache as the
web server, MySQL as the relational database management system and PHP as the object-
oriented scripting language. (Sometimes Perl or Python is used instead of PHP.)

Originally conceived by the Swedish company MySQL AB, MySQL was acquired by
Sun Microsystems in 2008 and then by Oracle when it bought Sun in 2010. Developers can
use MySQL under the GNU General Public License (GPL), but enterprises must obtain a
commercial license from Oracle. Today, MySQL is the RDBMS behind many of the top
websites in the world and countless corporate and consumer-facing web-based applications,
including Face book, Twitter and YouTube.

How MSQL works?

MySQL is based on a client-server model. The core of MySQL is MySQL server,


which handles all of the database instructions (or commands). MySQL server is available as a
separate program for use in a client-server networked environment and as a library that can be
embedded (or linked) into separate applications. MySQL operates along with several utility
programs which support the administration of MySQL databases.

DEPT OF 2021- Page 7


HOSTEL

CHAPTER 3

SYSTEM ANALYSIS
3.1 EXISTING SYSTEM

In an existing system there are users who have their own mechanic database which is very minimal.
And also, they have no idea if their vehicles are breaking down or had any mechanical issue in remote
locations or any long distant locations from their known mechanic shops. Users with the contacts of
people at the particular place may look for a help from them only if they are ready to do. It is not
possible to find out the suitable mechanic for the desired service at remote locations. The only way
they have is to look for any other transportation at the time of issue and then they need to get a
mechanic to the particular location at which they have left their vehicle.

3.1.1 DISADVANTAGES:

1. Time consuming.
2. Difficult to find suitable mechanic.

3.2 PROPOSED SYSTEM/SOLUTION

Here the users of On Road Vehicle Breakdown Assistance system can search for list of
mechanic at any location or the nearby locations which will help them in an unexpected situation
raised by the mechanical issues of their vehicles. Only the licensed mechanics can get listed here
while the search. And there are available mechanic who can come and repair the mechanical issues in
the user’s vehicle.

3.2.1 ADVANTAGES:

1. Secure registration of user’s and mechanics.


2. Easy access to the data.
3. The new system is more user-friendly, reliable and flexible.
4. Reduced manual work.

DEPT OF 2021- Page 8


HOSTEL

CHAPTER 4
SYSTEM REQUIREMENTS

4.1 Hardware Requirements


Machine Name : LENOVO

Processor : Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz 1.19 GHz

RAM : 8 GB

System Type : 64 bit – Operating System

4.2 Software Requirements

Front End : PHP

Back End : SQL

Operating System : Windows 10

DEPT OF 2021- Page 9


HOSTEL

CHAPTER 5

SYSTEM DESIGN
5.1 ER DIAGRAM

A entity relationship diagram(ER) is a graphical representation of the "flow" of data


through an information system, modelling its process aspects. Often, they are a preliminary
step used to create an overview of the system which can later be elaborated. ERs can also be
used for the visualization of data processing (structured design).

A ER shows what kinds of information will be input to and output from the system, where the
data will come from and go to, and where the data will be stored. It does not show
information about the timing of processes, or information about whether processes will
operate in sequence or in parallel (which is shown on a flowchart).

DEPT OF 2021- Page


HOSTEL

5.2 DATABASE DESIGN

Database name: hostel


Table Name: Admin

Field Name Field Type Description


Id Integer Store the admin id
User Name Varchar Store the admin name
Password Varchar Store the admin password
Email Timestamp Store the current timestamp

Updating Date Varchar Store the update timestamp


Reg_date Varchar Store the registration date

Table Name: Admin log

Field Name Field Type Description


Id Integer Store the id
Admin id Integer Store the admin id
IP Varchar Store the ip address
Login time Integer Store the admin login time

Table Name: Courses

Field Name Field Type Description


Id Integer Store the student id
Course code Varchar Store the course id
Course_sn Varchar Store the course short name
Course_fn Varchar Store the course full name

Posting Date Timestamp Store the posting timestamp

DEPT OF 2021- Page


HOSTEL
Table Name: Registration

Field Name Field Type Description


Id Integer Store the id
Room no Integer Store the room number
Seat no Integer Store the seat number
Fee spm Integer Store the fee span

Stay from Integer Store the stay date


Duration Integer Store the duration of time
Summary Varchar Store the summary
Course Varchar Store the name of the course
Registration number Varchar Store the registration number
First name Varchar Store the first name
Middle name Varchar Store the middle name
Last name Varchar Store the last name
Gender Varchar Store the gender
Contact number Integer Store the contact number
Email id Varchar Store the email id address
Gardian name Varchar Store the gardian name
Gardian relation Varchar Store the gardian relation
Gardian contact number Integer Store the gardian contact number
Corresponding address Varchar Store the corresponding address
Corresponding city Varchar Store the corresponding city
Corresponding state Varchar Store the corresponding state
Corresponding pincode Integer Store the corresponding pincode
Permanent address Varchar Store the permanent address
Permanent city Varchar Store the permanent city
Permanent state Varchar Store the permanent state
Permanent pincode Integer Store the permanent pincode
Posting date Timestamp Store the posting date
Updation date Timestamp Store the updation date

DEPT OF 2021- Page


HOSTEL
Table Name: Rooms

Field Name Field Type Description


Id Integer Store the id
Seater Integer Store the number of seats
Room no Integer Store the room number
Fees Integer Store the fee
Posting date Timestamp Store the posting date

Table Name: States

Field Name Field Type Description


Id Integer Store the id
State Varchar Store the name of the state

Table Name: User log

Field Name Field Type Description


Id Integer Store the id
User Id Integer Store the user id
User email Varchar Store the user email
City Varchar Store the name of the city
Country Varchar Store the name of the country
Login time Integer Store the login time

Table Name: User registration

Field Name Field Type Description


Id Integer Store the id
Registration number Varchar Store the registration number
First name Varchar Store the first name
Middle name Varchar Store the middle name
Last name Varchar Store the last name
Gender Varchar Store the gender
Contact number Integer Store the contact number
Email id Varchar Store the email id address
Password Varchar Store the password

DEPT OF 2021- Page


HOSTEL

Reg_date Varchar Store the registration date


Posting date Timestamp Store the posting date
Updation date Timestamp Store the updation date

DEPT OF 2021- Page


HOSTEL

CHAPTER 6
IMPLEMENTATION

6.1 Source code

-- phpMyAdmin SQL Dump


-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jun 26, 2016 at 09:41 PM
-- Server version: 5.6.26
-- PHP Version: 5.5.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `hostel`
--

--
-- Table structure for table `admin`
--
CREATE TABLE IF NOT EXISTS `admin` (
`id` int(11) NOT NULL,
`username` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`password` varchar(300) NOT NULL,
`reg_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updation_date` date NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`id`, `username`, `email`, `password`, `reg_date`, `updation_date`) VALUES
(1, 'admin', '[email protected]', 'Test@1234', '2016-04-04 20:31:45', '2016-04-17');
--
-- Table structure for table `adminlog`
--
CREATE TABLE IF NOT EXISTS `adminlog` (
`id` int(11) NOT NULL,
`adminid` int(11) NOT NULL,
`ip` varbinary(16) NOT NULL,
`logintime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Table structure for table `courses`
--

DEPT OF 2021- Page


HOSTEL
CREATE TABLE IF NOT EXISTS `courses` (
`id` int(11) NOT NULL,
`course_code` varchar(255) NOT NULL,
`course_sn` varchar(255) NOT NULL,
`course_fn` varchar(255) NOT NULL,
`posting_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `courses`
--
INSERT INTO `courses` (`id`, `course_code`, `course_sn`, `course_fn`, `posting_date`) VALUES
(1, 'B10992', 'B.Tech', 'Bachelor of Technology', '2016-04-11 19:31:42'),
(2, 'BCOM1453', 'B.Com', 'Bachelor Of commerce ', '2016-04-11 19:32:46'),
(3, 'BSC12', 'BSC', 'Bachelor of Science', '2016-04-11 19:33:23'),
(4, 'BC36356', 'BCA', 'Bachelor Of Computer Application', '2016-04-11 19:34:18'),
(5, 'MCA565', 'MCA', 'Master of Computer Application', '2016-04-11 19:34:40'),
(6, 'MBA75', 'MBA', 'Master of Business Administration', '2016-04-11 19:34:59'),
(7, 'BE765', 'BE', 'Bachelor of Engineering', '2016-04-11 19:35:19');
--
-- Table structure for table `registration`
--
CREATE TABLE IF NOT EXISTS `registration` (
`id` int(11) NOT NULL,
`roomno` int(11) NOT NULL,
`seater` int(11) NOT NULL,
`feespm` int(11) NOT NULL,
`foodstatus` int(11) NOT NULL,
`stayfrom` date NOT NULL,
`duration` int(11) NOT NULL,
`course` varchar(500) NOT NULL,
`regno` int(11) NOT NULL,
`firstName` varchar(500) NOT NULL,
`middleName` varchar(500) NOT NULL,
`lastName` varchar(500) NOT NULL,
`gender` varchar(250) NOT NULL,
`contactno` bigint(11) NOT NULL,

`emailid` varchar(500) NOT NULL,


`egycontactno` bigint(11) NOT NULL,
`guardianName` varchar(500) NOT NULL,
`guardianRelation` varchar(500) NOT NULL,
`guardianContactno` bigint(11) NOT NULL,
`corresAddress` varchar(500) NOT NULL,
`corresCIty` varchar(500) NOT NULL,
`corresState` varchar(500) NOT NULL,
`corresPincode` int(11) NOT NULL,
`pmntAddress` varchar(500) NOT NULL,
`pmntCity` varchar(500) NOT NULL,
`pmnatetState` varchar(500) NOT NULL,
`pmntPincode` int(11) NOT NULL,
`postingDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updationDate` varchar(500) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `registration`
--
INSERT INTO `registration` (`id`, `roomno`, `seater`, `feespm`, `foodstatus`, `stayfrom`, `duration`, `course`,
`regno`, `firstName`, `middleName`, `lastName`, `gender`, `contactno`, `emailid`, `egycontactno`,
`guardianName`, `guardianRelation`, `guardianContactno`, `corresAddress`, `corresCIty`, `corresState`,

DEPT OF 2021- Page


HOSTEL
`corresPincode`, `pmntAddress`, `pmntCity`, `pmnatetState`, `pmntPincode`, `postingDate`, `updationDate`)
VALUES
(6, 100, 5, 8000, 0, '2016-04-22', 5, 'Bachelor of Technology', 10806121, 'code', '', 'projects', 'male', 8285703354,
'[email protected]', 0, 'XYZ', 'Mother', 8285703354, 'H n0 18/1 Bihari Puram Phase-1 Melrose Bye Pass',
'Aligarh', 'EPE', 202001, 'H n0 18/1 Bihari Puram Phase-1 Melrose Bye Pass', 'Aligarh', 'EPE', 202001, '2016-04-
16 08:24:09', ''),
(7, 100, 5, 8000, 1, '2016-06-17', 4, 'Bachelor of Engineering', 108061211, 'code', 'test', 'projects', 'male',
8467067344, '[email protected]', 8285703354, 'test', 'test', 9999857868, 'H no- 18/1 Bihari puram phase-1 melrose
bye pass', 'Aligarh', 'EPE', 202001, 'H no- 18/1 Bihari puram phase-1 melrose bye pass', 'Aligarh', 'EPE', 202001,
'2016-06-23 11:54:35', ''),
(8, 112, 3, 4000, 0, '2016-06-27', 5, 'Bachelor of Science', 102355, 'Harry', 'projects', 'Singh', 'male', 6786786786,
'[email protected]', 789632587, 'demo', 'demo', 1234567890, 'New Delhi', 'Delhi', 'Delhi (NCT)', 110001, 'New
Delhi', 'Delhi', 'Delhi (NCT)', 110001, '2016-06-26 16:31:08', ''),
(9, 132, 5, 2000, 1, '2016-06-28', 6, 'Bachelor of Engineering', 586952, 'Benjamin', '', 'projects', 'male',
8596185625, '[email protected]', 8285703354, 'demo', 'demo', 8285703354, 'H no- 18/1 Bihari puram phase-1
melrose bye pass', 'Aligarh', 'EPE', 202001, 'H no- 18/1 Bihari puram phase-1 melrose bye pass', 'Aligarh', 'EPE',
202001, '2016-06-26 16:40:07', '');

--
-- Table structure for table `rooms`
--
CREATE TABLE IF NOT EXISTS `rooms` (
`id` int(11) NOT NULL,
`seater` int(11) NOT NULL,
`room_no` int(11) NOT NULL,
`fees` int(11) NOT NULL,
`posting_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `rooms`
--
INSERT INTO `rooms` (`id`, `seater`, `room_no`, `fees`, `posting_date`) VALUES
(1, 5, 100, 8000, '2016-04-11 22:45:43'),
(2, 2, 201, 6000, '2016-04-12 01:30:47'),
(3, 2, 200, 6000, '2016-04-12 01:30:58'),
(4, 3, 112, 4000, '2016-04-12 01:31:07'),
(5, 5, 132, 2000, '2016-04-12 01:31:15');
--
-- Table structure for table `states`
--
CREATE TABLE IF NOT EXISTS `states` (
`id` int(11) NOT NULL,
`State` varchar(150) DEFAULT NULL
) ENGINE=MyISAM AUTO_INCREMENT=37 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `states`
--
INSERT INTO `states` (`id`, `State`) VALUES
(1, 'Andaman and Nicobar Island (UT)'),
(2, 'Andhra Pradesh'),
(3, 'Arunachal Pradesh'),
(4, 'Assam'),
(5, 'Bihar'),
(6, 'Chandigarh (UT)'),
(7, 'Chhattisgarh'),
(8, 'Dadra and Nagar Haveli (UT)'),
(9, 'Daman and Diu (UT)'),
(10, 'Delhi (NCT)'),
(11, 'Goa'),

DEPT OF 2021- Page


HOSTEL
(12, 'Gujarat'),
(13, 'Haryana'),
(14, 'Himachal Pradesh'),
(15, 'Jammu and Kashmir'),
(16, 'Jharkhand'),
(17, 'Karnataka'),
(18, 'Kerala'),
(19, 'Lakshadweep (UT)'),
(20, 'Madhya Pradesh'),
(21, 'Maharashtra'),
(22, 'Manipur'),
(23, 'Meghalaya'),
(24, 'Mizoram'),
(25, 'Nagaland'),
(26, 'Odisha'),
(27, 'Puducherry (UT)'),
(28, 'Punjab'),
(29, 'Rajastha'),
(30, 'Sikkim'),
(31, 'Tamil Nadu'),
(32, 'Telangana'),
(33, 'Tripura'),

(34, 'Uttarakhand'),
(35, 'EPE'),
(36, 'West Bengal');

--
-- Table structure for table `userlog`
--
CREATE TABLE IF NOT EXISTS `userlog` (
`id` int(11) NOT NULL,
`userId` int(11) NOT NULL,
`userEmail` varchar(255) NOT NULL,
`userIp` varbinary(16) NOT NULL,
`city` varchar(255) NOT NULL,
`country` varchar(255) NOT NULL,
`loginTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `userlog`
--
INSERT INTO `userlog` (`id`, `userId`, `userEmail`, `userIp`, `city`, `country`, `loginTime`) VALUES
(1, 10, '[email protected]', '', '', '', '2016-06-22 06:16:42'),
(2, 10, '[email protected]', '', '', '', '2016-06-24 11:20:28'),
(4, 10, '[email protected]', 0x3a3a31, '', '', '2016-06-24 11:22:47'),
(5, 10, '[email protected]', 0x3a3a31, '', '', '2016-06-26 15:37:40'),
(6, 20, '[email protected]', 0x3a3a31, '', '', '2016-06-26 16:40:57');
--
-- Table structure for table `userregistration`
--
CREATE TABLE IF NOT EXISTS `userregistration` (
`id` int(11) NOT NULL,
`regNo` varchar(255) NOT NULL,
`firstName` varchar(255) NOT NULL,
`middleName` varchar(255) NOT NULL,
`lastName` varchar(255) NOT NULL,
`gender` varchar(255) NOT NULL,
`contactNo` bigint(20) NOT NULL,

DEPT OF 2021- Page


HOSTEL
`email` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`regDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updationDate` varchar(45) NOT NULL,
`passUdateDate` varchar(45) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `userregistration`
--
INSERT INTO `userregistration` (`id`, `regNo`, `firstName`, `middleName`, `lastName`, `gender`, `contactNo`,
`email`, `password`, `regDate`, `updationDate`, `passUdateDate`) VALUES
(10, '108061211', 'code', 'test', 'projects', 'male', 8467067344, '[email protected]', 'Test@123', '2016-06-22 04:21:33',
'23-06-2016 11:04:15', '22-06-2016 05:16:49'),
(19, '102355', 'Harry', 'projects', 'Singh', 'male', 6786786786, '[email protected]', '6786786786', '2016-06-26
16:33:36', '', ''),
(20, '586952', 'Benjamin', '', 'projects', 'male', 8596185625, '[email protected]', '8596185625', '2016-06-26
16:40:07', '', '');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `courses`
--
ALTER TABLE `courses`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `registration`
--
ALTER TABLE `registration`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `rooms`
--
ALTER TABLE `rooms`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `states`
--
ALTER TABLE `states`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `userlog`
--
ALTER TABLE `userlog`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `userregistration`
--
ALTER TABLE `userregistration`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admin`

DEPT OF 2021- Page


HOSTEL
--
ALTER TABLE `admin`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `courses`
--
ALTER TABLE `courses`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `registration`
--
ALTER TABLE `registration`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `rooms`
--
ALTER TABLE `rooms`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `states`
--
ALTER TABLE `states`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=37;
--
-- AUTO_INCREMENT for table `userlog`
--
ALTER TABLE `userlog`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `userregistration`
--
ALTER TABLE `userregistration`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=21;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

CHAPTER 7

SCREENSHOTS

DEPT OF 2021- Page


HOSTEL

Fig 7.1 XAMPP SERVER

Fig 7.2 PHP MY ADMIN PAGE

DEPT OF 2021- Page


HOSTEL

Fig 7.3 ADMIN LOGIN PAGE

Fig 7.4 ADMIN PROFILE PAGE AND PASSWORD CHANGE

DEPT OF 2021- Page


HOSTEL

Fig 7.5 ADMIN MANAGE COURSES

Fig 7.6 STUDENT HOSTEL REGISTRATION

DEPT OF 2021- Page


HOSTEL

Fig 7.7 USER ACCESS LOG

Fig 7.8 USER LOGIN PAGE

DEPT OF 2021- Page


HOSTEL

CHAPTER 8

CONCLUSION
The given project “Hostel Management system” was successfully completed and the required
reports are generated. The project has been designed to fulfil the needs of the customer and
company. The system is extremely user friendly. The system is tested with real data. The
results or the live data are compacted with the actual system verified for its accuracy. The
system is flexible so that there is a lot of scope to update the system. As the system is flexible
the system can be changed if any changes come in future. The developed system is portable.
The developed system has been completed which is customized for the satisfaction of the user
The system has been analysed, designed and developed with meticulous care and can be
executed without any faults or errors.

DEPT OF 2021- Page


HOSTEL

REFERENCES

1. www.mindsetit.com
2. www.electronicsforu.com
3. www.electronicshub.org
4. www.elprocus.com
5. www.androidtutorials.com

DEPT OF 2021- Page

You might also like