Library Management System
Library Management System
Library Management System
Project Report On
Dr.C.V.Raman University
Kota,Bilaspur (C.G.)
By
RISHABH SHARMA
Registration No,:D2011903676
2019-2020
Dr.C.V.Raman University
Kota,Bilaspur (C.G.)
of
Rishabh sharma
Purushottam choudhary
2019-20
Rishabh sharma
Registration No. D2011903676
Library Management System
CERTIFICATE
This is to certify that the work incorporated in the Project Report entitled “library
management” is a record of own work carried out by rishabh sharma under my
supervision for the award of degree of Post office management(dbms) of Institute of
open and Distance Education Dr.C.V. Raman University, Bilaspur (C.G.)-India.
To the best of my Knowledge and belief the Project Report :
i. Embodies the work of the candidate himself/herself,
ii. Has duly been completed.
iii. Is up to the desired standard both in respect of contants and language for being referred
to the examiners.
Supervisor-
Mr.MD Sarif Ansari
(HOD ,Department of computer science)
Acknowledgements should be brief and should not exceed one page. Acknowledgements should be duly signed
by the candidate.Gratitude may be expressed to only those who really contributed to the work directly or
indirectly. Name of student should appear at the bottom of the page.
SAMPLE ACKNOWLEDGEMENT
It is a matter of immense pleasure to express the overwhelming sense of gratitude, devotion,
Incontestable regards to my esteemed & learned guides Mr.purushottam choudhary who have striven to
perfect my project report.
……………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………
……………………………………………………………………
Finally, I express my indebtedness to all who have directly or indirectly contributed to the successful
completion of my project work.
Rishabh sharma
Library Management System
Library Management System
TABLE OF CONTENTS
ABSTRACT 8
1. INTRODUCTION 9
PROJECT AIMS AND OBJECTIVES 9
BACKGROUND OF PROJECT 10
OPERATION ENVIRONMENT 11
2. SYSTEM ANALYSIS 12
SOFTWARE REQUIREMENT SPECIFICATION 13
EXISTING VS PROPOSED 16
SOFTWARE TOOL USED 17
3. SYSTEM DESIGN 20
TABLE DESIGN 21
DATA FLOW DIAGRAM’S 27
4. SYSTEM IMPLEMENTATION 32
MODULE DESCRIPTION 35
SCREEN SHOTS 50
5. SYSTEM TESTING 54
UNIT TESTING 56
INTEGRATION TESTING 57
6. CONCLUSION & FUTURE SCOPE 57
7. REFERENCES 58
Library Management System
ABSTRACT
Overall this project of ours is being developed to help the students as well as staff
of library to maintain the library in the best way possible and also reduce the
human efforts.
Library Management System
INTRODUCTION
This chapter gives an overview about the aim , objectives ,background and operation
environment of the system.
BACKGROUND OF PROJECT
Library Management System is an application which refers to library systems which are
generally small or medium in size. It is used by librarian to manage the library using a
computerized system where he/she can record various transactions like issue of books, return of
books, addition of new books, addition of new students etc.
Books and student maintenance modules are also included in this system which would keep track
of the students using the library and also a detailed description about the books a library
contains. With this computerized system there will be no loss of book record or member record
which generally happens when a non computerized system is used.
In addition, report module is also included in Library Management System. If user’s position is
admin, the user is able to generate different kinds of reports like lists of students registered, list
of books, issue and return reports.
All these modules are able to help librarian to manage the library with more convenience and in
a more efficient way as compared to library systems which are not computerized.
Library Management System
OPERATION ENVIRONMENT
SYSTEM ANALYSIS
In this chapter, we will discuss and analyze about the developing process of Library
Management System including software requirement specification (SRS) and
comparison between existing and proposed system . The functional and non functional
requirements are included in SRS part to provide complete description and overview of
system requirement before the developing process is carried out. Besides that, existing
vs proposed provides a view of how the proposed system will be more efficient than the
existing one.
PRODUCT DESCRIPTION:
Library Management System is a computerized system which helps
user(librarian) to manage the library daily activity in electronic format. It reduces
the risk of paper work such as file lost, file damaged and time consuming.
It can help user to manage the transaction or record more effectively and time-
saving.
PROBLEM STATEMENT:
The problem occurred before having computerized system includes:
File lost
When computerized system is not implemented file is always lost because of human
environment.Some times due to some human error there may be a loss of records.
File damaged When a computerized system is not there file is always lost due to
some accdent like spilling of water by some member on file accidentally.Besides
some natural disaster like floods or fires may also damage the files.
Library Management System
SYSTEM REQUIREMENTS
NON FUNCTIONAL REQUIREMENTS
Product Requirements
EFFICIENCY REQUIREMENT
When a library management system will be implemented librarian and user will
easily acess library as searching and book transaction will be very faster .
RELIABILITY REQUIREMENT
The system should accurately performs member registration ,member validation ,
report generation, book transaction and search
USABILITY REQUIREMENT
The system is designed for a user friendly environment so that student and staff of
library can perform the various tasks easily and in an effective way.
ORGANIZATIONAL REQUIREMENT
IMPLEMENTATION REQUIREMNTS
In implementing whole system it uses html in front end with php as server side
scripting language which will be used for database connectivity and the backend ie
the database part is developed using mysql.
DELIVERY REQUIREMENTS
The whole system is expected to be delivered in six months of time with a weekly
evaluation by the project guide.
Library Management System
FUNCTIONAL REQUIREMENTS
1. NORMAL USER
USER
LOGIN
Descriptio
n of feature
This feature used by the user to login into system. They are required to enter user id and
password before they are allowed to enter the system .The user id and password will be verified
and if invalid id is there user is allowed to not enter the system.
Functional requirements
-user id is provided when they register
-The system must only allow user with valid id and password to enter the system
-The system performs authorization process which decides what user level can acess to.
-The user must be able to logout after they finished using system.
Functional requirements
-System must be able to verify information
-System must be able to delete information if information is wrong
DESCRIPTION OF FEATURE
This feature is found in book maintenance part . we can search book based on book id ,
book name , publication or by author name.
Functional requirements
- System must be able to search the database based on select search type
- System must be able to filter book based on keyword enterd
- System must be able to show the filtered book in table view
DESCRIPTION OF FEATURE
This feature allows to issue and return books and also view reports of book issued.
Functional requirements
-System must be able to enter issue information in database.
-System must be able to update number of books.
- System must be able to search if book is available or not before issuing books
-System should be able to enter issue and return date information
EVENT ADDITION
DESCRIPTION OF FEATURE
This feature allows teacher and student to add information about various workshops being
conducted in college and colleges nearby.
Library Management System
Functional requirements
-System should be able to add detailed information about events .
-System should be able to display information on notice board available in the homepage of
site
HARDWARE REQUIREMENTS
Intel core i5 2nd generation is used as a processor because it is fast than other
processors an provide reliable and stable and we can run our pc for longtime.
By using this processor we can keep on developing our project without any
worries.
Ram 1 gb is used as it will provide fast reading and writing capabilities and
will in turn support in processing
Library Management System
i. Existing system does not have any facility of teachers login or student login
where as proposed system will have a facility of student login as well as
teacher’s login
ii. Existing system does not have a facility of online reservation of books whereas
proposed system has a facility of online reservation of books
iii. Existing system does not have any facility of online notice board where
description of workshops happening in our college as well as nearby colleges is
being provided.
iv. Existing system does not has any option of lectures notes uploaded by teachers
whereas proposed system will have this facility
v. Existing system does not have any facility to generate student reports as well
book issue reports whereas proposed system provides librarian with a tool to
generate reports
vi. Existing system does not has any facility for book request and sugeestions
where as in proposed system after logging in to their accounts student can
request books as well as provide suggestions to improve library
Library Management System
Front end
The front end is designed using of html , Php ,css, Java script
HTML- HTML or Hyper Text Markup Language is the main markup
language for creating web pages and other information that can be displayed
in a web browser.HTML is written in the form of HTML elements consisting
of tags enclosed in angle brackets (like <html>), within the web page
content. HTML tags most commonly come in pairs like <h1> and </h1>,
although some tags represent empty elements and so are unpaired, for
example <img>. The first tag in a pair is the start tag, and the second tag is
the end tag (they are also called opening tags and closing tags). In between
these tags web designers can add text, further tags, comments and other
types of text-based content. The purpose of a web browser is to read HTML
documents and compose them into visible or audible web pages. The
browser does not display the HTML tags, but uses the tags to interpret the
content of the page.HTML elements form the building blocks of all websites.
HTML allows images and objects to be embedded and can be used to
create interactive forms. It provides a means to create structured
documents by denoting structural semantics for text such as headings,
paragraphs, lists, links, quotes and other items. It can embed scripts written
in languages such as JavaScript which affect the behavior of HTML web
pages.
CSS- Cascading Style Sheets (CSS) is a style sheet language used for
describing the look and formatting of a document written in a markup
language. While most often used to style web pages and interfaces written
in HTML and XHTML, the language can be applied to any kind
of XML document, including plain XML, SVG and XUL. CSS is a cornerstone
specification of the web and almost all web pages use CSS style sheets to
describe their presentation.CSS is designed primarily to enable the
separation of document content from document presentation, including
elements such as the layout, colors, and fonts. This separation can improve
content accessibility, provide more flexibility and control in the specification
Library Management System
SYSTEM DESIGN
TABLE DESIGN
TEACHER
DATABASE
ENTER
ENTER USERNAME CHECK
TEACHER URL & VALIDITY
PASSWORD
IF VALID
TEACHER
WEB SERVER LOGIN
PAGE
After entering to the home page of the website , teacher can choose the TEACHER
LOGIN option where they are asked to enter username & password , and if he/she is a
valid user then a teacher login page will be displayed.
Library Management System
STUDENT
DATABASE
ENTER
ENTER USERNAME CHECK
STUDENT URL & VALIDITY
PASSWORD
IF VALID
STUDENT
WEB SERVER LOGIN
PAGE
After entering to the home page of the website , student can choose the STUDENT
LOGIN option where they are asked to enter username & password , and if he/she is a
valid user then a student login page will be displayed.
Library Management System
LOGIN
DATABASE
It is a 2nd level Data Flow Diagram where after entering STUDENT LOGIN page he/she
can select a book issue option where after entering the book detail, he/she can select
the book issue option and if the maximum no of books issued limit is not crossed then a
request will be sent to the librarian who will approve the book issue.
Library Management System
I
SELECT ENTE F
ADVAN R BOO
HOME BOO FOUN K
CE
K D DETAI
SEARC
H DETAI LS
L
BOOK
DATABASE
After the home page login there will be an option of the book search where after
entering book detail like author name, publication, book name etc book details will be
displayed.
Library Management System
After the home page login there will be an option of CREATE AN ACCOUNT where
after entering student detail ,if all the fields are filled then a request will be sent to the
librarian who will approve him as a registered member of the library.
Library Management System
CHAPTER 4
SYSTEM IMPLEMENTATION
MODULE DESCRIPTION
Admin Module
ADMIN
<!DOCTYPE html>
<html xml:lang="EN" lang="EN" dir="ltr">
<head>
<title>SOE LIBRARY INFORMATION SYSTEM</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="../styles/layout.css" type="text/css" />
<!-- Homepage Specific Elements -->
<script type="text/javascript" src="../scripts/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="../scripts/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="../scripts/jquery.tabs.setup.js"></script>
<!-- End Homepage Specific Elements -->
</head>
<body id="top">
<div class="wrapper row1">
<div id="header" class="clear">
<div class="fl_left">
Library Management System
Code for checking of admin username and password information
<?php
$con=mysqli_connect("localhost","root","rahul#1991","library");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$loginid=$_POST['teacherid'];
$username=$_POST['username'];
$password=$_POST['password'];
$teachername=$_POST['teachername'];
$designation=$_POST['designation'];
$branch=$_POST['branch'];
$contactno=$_POST['contact'];
$lecture='';
$sql="INSERT INTO teacher (Tid, name, designation, branch, contactno,lectures)
VALUES
( $loginid,$teachername,$designation,$branch,$contactno,$lecture)";
$tql="INSERT INTO teacherlogin ($loginid,$username,$password)
VALUES
( $loginid,$username, $password)";
if (!mysqli_query($con,$sql))
{
echo "error";
}
if (!mysqli_query($con,$tql))
{
echo "error1";
}
echo "successs";
mysqli_close($con);
Library Management System
?>
<?php
$con=mysqli_connect("localhost","root","","library");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
if (!mysqli_query($con,$sql))
{
echo "error";
}
echo "successs";
mysqli_close($con);
?>
?>
Student Module
STUDENT
<!DOCTYPE html>
<html xml:lang="EN" lang="EN" dir="ltr">
<head>
<title>SOE LIBRARY INFORMATION SYSTEM</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="../styles/layout.css" type="text/css" />
<!-- Homepage Specific Elements -->
<script type="text/javascript" src="../scripts/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="../scripts/jquery-ui-
1.7.2.custom.min.js"></script>
<script type="text/javascript" src="../scripts/jquery.tabs.setup.js"></script>
<!-- End Homepage Specific Elements -->
</head>
<body id="top">
<div class="wrapper row1">
<?php
//Start session
session_start();
//Unset the variables stored in session
unset($_SESSION['SESS_username']);
unset($_SESSION['SESS_password']);
?>
<!DOCTYPE html>
<html xml:lang="EN" lang="EN" dir="ltr">
<head>
<title>SOE LIBRARY INFORMATION SYSTEM</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="../styles/layout.css" type="text/css" />
<!-- Homepage Specific Elements -->
<script type="text/javascript" src="../scripts/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="../scripts/jquery-ui-
1.7.2.custom.min.js"></script>
<script type="text/javascript" src="../scripts/jquery.tabs.setup.js"></script>
<!-- End Homepage Specific Elements -->
</head>
<body id="top">
<div class="wrapper row1">
<div id="header" class="clear">
<div class="fl_left">
Page 42
Library Management System
<?php
session_start();
$host="localhost"; // Host name
$username="root"; // Mysql username
$password=""; // Mysql password
$db_name="library"; // Database name
$tbl_name="studentlogin"; // Table name
Page 43
Library Management System
mysql_select_db("$db_name")or die("cannot select DB");
if($count>0)
{ session_regenerate_id();
$member = mysql_fetch_assoc($result);
$_SESSION['SESS_username'] = $member['username'];
$_SESSION['SESS_password'] = $member['password'];
session_write_close();
header("location:studentlogin1.php");
exit();
}else {
//Login failed
$errmsg_arr[] = 'user name and password not found';
$errflag = true;
if($errflag) {
$_SESSION['ERRMSG_ARR'] = $errmsg_arr;
session_write_close();
header("location: studentlogin.php");
exit();
Page 44
Library Management System
}
}
?>
<?php
$con=mysqli_connect("localhost","root","","admin");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
Page 45
Library Management System
Page 46
Library Management System
TEACHER
SUGGESTION
TEACHER S EVENT
LOGIN ADDITION
USERNAME FORGOT
AND PASSWO
PASSWORD RD
AUTHENTICATI
ON The following module contains various facilities like teacher login, suggestions, and
event addition. Further any teacher if at any moment forgets his/her password he/she can
retrieve it from ‘forgot password’ option.
<?php
session_start();
$host="localhost"; // Host name
$username="root"; // Mysql username
$password=""; // Mysql password
$db_name="library"; // Database name
$tbl_name="teacherlogin"; // Table name
Page 47
Library Management System
$result=mysql_query($sql);
if($count>0)
{ session_regenerate_id();
$member = mysql_fetch_assoc($result);
$_SESSION['SESS_username'] = $member['username'];
$_SESSION['SESS_password'] = $member['password'];
session_write_close();
header("location:teacherlogin1.php");
exit();
}else {
//Login failed
$errmsg_arr[] = 'user name and password not found';
$errflag = true;
if($errflag) {
$_SESSION['ERRMSG_ARR'] = $errmsg_arr;
session_write_close();
header("location: teacherlogin.php");
exit();
}
}
?>
<?php
session_start();
?>
<!DOCTYPE html>
<html xml:lang="EN" lang="EN" dir="ltr">
<head>
<title>SOE LIBRARY INFORMATION SYSTEM</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="../styles/layout.css" type="text/css" />
<!-- Homepage Specific Elements -->
<script type="text/javascript" src="../scripts/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="../scripts/jquery-ui-
1.7.2.custom.min.js"></script>
Page 48
Library Management System
Page 49
Library Management System
BOOK MAINTENANCE
The following module contains various facilities like add new book and search book. In
the ‘add new book’ section if any new book comes in the library then the librarian can
add its specifications. Similarly if the user wants to search for a specific book then
he/she can use search book option to do it.
<?php
$con=mysqli_connect("localhost","root","","library");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
if (!mysqli_query($con,$sql))
{
echo "error";
}
echo "successs";
Page 50
Library Management System
mysqli_close($con);
?>
<?php
$con=mysqli_connect("localhost","root","","admin");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
if (!mysqli_query($con,$sql))
{
echo "error";
}
echo "successs";
mysqli_close($con);
?>
<!DOCTYPE html>
<html xml:lang="EN" lang="EN" dir="ltr">
<head>
<title>SOE LIBRARY INFORMATION SYSTEM</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="../styles/layout.css" type="text/css" />
<!-- Homepage Specific Elements -->
<script type="text/javascript" src="../scripts/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="../scripts/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="../scripts/jquery.tabs.setup.js"></script>
<!-- End Homepage Specific Elements -->
</head>
<body id="top">
<div class="wrapper row1">
<div id="header" class="clear">
<div class="fl_left">
<h1><a href="homepage.php">SOE LIBRARY MANAGEMENT
SYSTEM</a></h1>
Page 51
Library Management System
<p></p>
</div>
<div class="fl_right">
<ul>
<li><a href="homepage.php">Home</a></li>
<li><a href="http://localhost/xampp/project/library/contact/Contactus.php">Contact
Us</a></li>
<li><a href="http://localhost/xampp/project/library/egateway/egateway.php">E-
Gateway</a></li>
<li><a
href="http://localhost/xampp/project/library/studentlogin/studentlogin.php">Student
Login</a></li>
<li ><a
href="http://localhost/xampp/project/library/teachrlogin/teacherlogin.php">Teacherlogi
n</a></li>
<li><a
href="http://localhost/xampp/project/library/admin/adminlogin.php">Adminlogin</a></
li>
</ul>
<form action="#" method="post" id="sitesearch">
<fieldset>
<strong>Search:</strong>
<input type="text" value="Search Our webiste for books;"
onfocus="this.value=(this.value=='Search Our website for books;')? '' : this.value ;" />
<input type="image" src="images/search.gif" id="search" alt="Search" />
</fieldset>
</form>
</div>
</div>
</div>
BOOK TRANSACTION
Page 53
Library Management System
<?php
require'../include/connection1.php';
$result = mysqli_query($connection,"SELECT * FROM studentlogin");
while($row = mysqli_fetch_array($result))
{
$libid=$row['logid'] ;
$username= $row['username'];
$password= $row['password'];
$numbooks=$row['numbooks'];
}
if($numbooks>3)
{
echo"cannnot issue books limit exceeded";
}
else
{
$libid=$_POST['libid'];
$bookid=$_POST['bookid'];
$issuedate=$_POST['issuedate'];
$returndate=date_add($issuedate,date_interval_create_from_date_string("15 days"));
$sql="INSERT INTO issuebooks(libid,bookid,issuedate,returndate)
VALUES
('$libid','$bookid','$issuedate','$returndate')";
mysqli_query($connection,"UPDATE studentlogin SET
numbooks=numbooks+1
WHERE logid='$libid'");
mysqli_query($connection,"UPDATE book SET
numberofbooks=numberofbooks-1
WHERE code='$bookid'");
if (!mysqli_query($connection,$sql))
{
die('Error1: ' . mysqli_error($connection));
}
else
echo"added 1 record";
}
mysqli_close($connection);
?>
Page 54
Library Management System
<?php
require'../include/connection1.php';
$libid=$_POST['libid'];
$bookid=$_POST['bookid'];
$result = mysqli_query($connection,"SELECT * FROM issuebooks where libid= '$libid' &&
bookid='$bookid'");
$rowcount=mysqli_num_rows($result);
if($rowcount>0)
{
$sql=mysqli_query($connection,"UPDATE studentlogin SET
numbooks=numbooks-1
WHERE logid='$libid'");
$sql1=mysqli_query($connection,"UPDATE book SET
numberofbooks=numberofbooks+1
WHERE code='$bookid'");
$sql2=mysqli_query($connection,"DELETE FROM issuebooks WHERE
libid=$libid && bookid='$bookid'");
}
else
echo"no book issued";
mysqli_close($connection);
?>
Page 55
Library Management System
REPOR
T
The following module contains various facilities like student report, teacher report, book
report, and transaction report.
<?php
require '../include/connection1.php';
$result = mysqli_query($connection,"SELECT * FROM
teacher");
$count=mysqli_num_rows($result);
echo "<table border='1' style='width=100px'>
<tr>
<td>Teacher id</td>
<td>Name</td>
<td>Designation</td>
<td>Branch</td>
<td>Contact no</td>
</tr>";
while($count>0)
{
while($row = mysqli_fetch_array($result))
Page 56
Library Management System
{echo "<tr>";
echo "<td>" . $row['tid'] . "</td>";
echo "<td>" . $row['name'] . "</td>";
echo "<td>" . $row['designation'] . "</td>";
echo "<td>" . $row['branch'] . "</td>";
echo "<td>" . $row['contactno'] . "</td>";
echo"</tr>";
}
$count=$count-1;
}
mysqli_close($connection);
?>
</table>
<?php
require '../include/connection1.php';
$result = mysqli_query($connection,"SELECT * FROM
student");
$count=mysqli_num_rows($result);
echo "<table border='1' style='width=100px'>
<tr>
<td>Libraryid</td>
<td>Registration number</td>
<td>Name</td>
<td>Branch</td>
<td>Semester</td>
<td>Section</td>
<td>Year of adm</td>
</tr>";
while($count>0)
{
while($row = mysqli_fetch_array($result))
{echo "<tr>";
echo "<td>" . $row['libid'] . "</td>";
echo "<td>" . $row['regno'] . "</td>";
echo "<td>" . $row['stuname'] . "</td>";
echo "<td>" . $row['branch'] . "</td>";
echo "<td>" . $row['semester'] . "</td>";
echo "<td>" . $row['section'] . "</td>";
echo "<td>" . $row['yearofadm'] . "</td>";
Page 57
Library Management System
echo"</tr>";
}
$count=$count-1;
}
mysqli_close($connection);
?>
</table>
<?php
require '../include/connection1.php';
$result = mysqli_query($connection,"SELECT * FROM
issuebooks order by libid");
$count=mysqli_num_rows($result);
echo "<table border='1' style='width=100px'>
<tr>
<td>Libraryid</td>
<td>Bookid</td>
<td>Issue date</td>
<td>Return date</td>
</tr>";
while($count>0)
{
while($row = mysqli_fetch_array($result))
{echo "<tr>";
echo "<td>" . $row['libid'] . "</td>";
echo "<td>" . $row['bookid'] . "</td>";
echo "<td>" . $row['issuedate'] . "</td>";
echo "<td>" . $row['returndate'] . "</td>";
echo"</tr>";
}
$count=$count-1;
}
mysqli_close($connection);
?>
</table>
Page 58
Library Management System
Page 59
Library Management System
CHAPTER 5
SYSTEM TESTING
The aim of the system testing process was to determine all defects in our project .The program
was subjected to a set of test inputs and various observations were made and based on these
observations it will be decided whether the program behaves as expected or not.
Our Project went through two levels of testing
1.Unit testing
2. integration testing
UNIT TESTING
Unit testing is undertaken when a module has been created and succesfully reviewed .In order to
test a single module we need to provide a complete environment ie besides the module we
would require
The procedures belonging to other modules that the module under test calls
Non local data structures that module accesses
A procedure to call the functions of the module under test with appropriate
parameters
Unit testing was done on each and every module that is described under module description of
chapter 4
Page 60
Library Management System
Page 61
Library Management System
INTEGRATION TESTING
In this type of testing we test various integration of the project module by providing the input
.The primary objective is to test the module interfaces in order to ensure that no errors are
occurring when one module invokes the other module.
Page 62
Library Management System
CONCLUSION &
FUTURE SCOPE
This website provides a computerized version of library management system which will benefit
the students as well as the staff of the library.
It makes entire process online where student can search books, staff can generate reports and do
book transactions. It also has a facility for student login where student can login and can see
status of books issued as well request for book or give some suggestions. It has a facility of
teacher’s login where teachers can add lectures notes and also give necessary suggestion to
library and also add info about workshops or events happening in our college or nearby college
in the online notice board.
There is a future scope of this facility that many more features such as online lectures video
tutorials can be added by teachers as well as online assignments submission facility , a feature
Of group chat where students can discuss various issues of engineering can be added to this
project thus making it more interactive more user friendly and project which fulfills each users
need in the best way possible
Page 63
Library Management System
REFERENCES
http://www.w3schools.com/html/html_intro.asp
http://www.w3schools.com/css/css_background.asp
http://www.w3schools.com/js/js_datatypes.asp
http://www.w3schools.com/sql/sql_insert.asp
http://www.w3schools.com/sql/sql_update.asp
http://www.w3schools.com/php/php_forms.asp
Fundamentals of software engineering by Rajib mall, PHIlearning
Web development and application development by Ivan Byross BPB publications
Page 64