DBMS 111
DBMS 111
CHAPTER 1
INTRODUCTION
1.1 Introduction
The proposed project “Employee Database and Payroll Management System” has been
developed to overcome the problems faced in the practicing of manual system. This
software is built to eliminate and in some cases reduce the hardships faced by the
existing system. Moreover this system is designed for particular need of the company
to carry out its operations in a smooth and effective manner.
This web application is reduced as much as possible to avoid errors while entering
data. It also provides error message while entering invalid data. It is user-friendly as
no formal knowledge is required to use the system. Human resource challenges are
faced by every organization which has to be overcome by the organization. Every
organization has different employee and payroll management needs. Therefore I have
design exclusive Employee and payroll Management System that are adapted to the
organization’s Managerial Requirements.
1.2 OVERVIEW
1.4 OBJECTIVES:
To automate each and every activity of the manual system, which increases its
throughput.
required.
To make the present manual system more interactive,speedy and user friendly.
To avail information, whatever and whenever needed.
To reduce the cost of maintenance.
To develop a stand-alone application for “ Payroll Management System”.
CHAPTER 2
SYSTEM REQUIREMENTS
3. RAM :4 GB RAM
1. Software : XAMPP
6. Server : APACHE
CHAPTER 3
DESIGN
3.1 ER DIAGRAM
Admin:
o The Above table describes all the details about Admin such as admin id, admin name ,
admin password so that he/she can login to view his profile.
Department:
o The Above table describes all the details about Department such as dept id,
dept_name , so that he/she can department to manage employees.
Employee:
o The Above table describes all the details about Employee such as
empid,name,address,phoneno,email,startdate,dbirth,gender,loan,pfund,salary,jobtitle,
accno, deptid,managesdeptid
Payment:
CHAPTER 4
IMPLEMENTATION OF CODE
We have organized one database employee portal for system design. It can be accessed directly
or sequentially by registered. The database determines files, records, fields, and characters. Can
be easily controlled and updated: this database and its table and components are described the
using flow diagram the is given in the below.
Code home.php
<!DOCTYPE html>
<html>
<title>DASHBOARD PAGE</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <body>
<div id="main">
<div class="w3-teal">
<button class="w3-button w3-teal w3-xlarge" onclick="w3_open()"
id="openNav">☰</button> <div
class="w3-container">
<h1>PAYROLL SYSTEM</h1>
</div>
</div>
<img src="images/home.jpg" style="width:100%">
<div class="w3-container">
</div>
</div>
<script>
function
w3_open() {
document.getElementById("main").style.marginLeft = "25%";
document.getElementById("mySidebar").style.width = "25%";
document.getElementById("mySidebar").style.display = "block";
document.getElementById("openNav").style.display = 'none';
} function
w3_close() {
document.getElementById("main").style.marginLeft = "0%";
document.getElementById("mySidebar").style.display = "none";
document.getElementById("openNav").style.display = "inline-block"; } </script>
</body> </html>
configall.php
<?php
define('db_server','localhost:3307');
define('db_username','root'); define('db_password','');
define('db_database','payroll_management');
$connection=mysqli_connect(db_server,db_username,db_password,db_database);
if($connection){
// echo"Succeccfully connected to database <br>";
?>
index.php
<!doctype html>
<html>
<head>
<meta charset="utf-8"
<title>Welcome to homepage</title>
</head>
<body>
<div class="loginbox">
<h3>Log in to here</h3>
<p>Username</p>
<p>Password</p>
</form>
</div>
</body>
</html>
CHAPTER 5
SNAP SHOTS
Home page:
department:
This is the department page where we can add department data and we can also remove the
department details.
employee:
This is the employee page where we can add employee data.we can also edit and remove the
employee details.
payments:
This is the payment page where we can make payments with the help of employee details.
pay slip:
Here we can generate a payslip for each employees working in the department
set salary:
Here we can set the salary of an employee who are working in the department.
payment history: