Professional Documents
Culture Documents
ON
BY
MUHAMMED THAMEEM M (811201052)
DECLARATION
I hereby declare that the work presented in the case study titled LIBRARY
MANAGEMENT SYSTEM is the original work done by us under the guidance of
Mrs.Lekshmi A C Lecturer of the Computer Science department. The same work has
not been submitted elsewhere or any other degree.
MUHAMMED THAMEEM M
SCHOOL OF DISTANCE EDUCATION
UNIVERSITY OF KERALA
KARIAVATTOM.
CERTIFICATE
This is to certify that the project report entitled “LIBRARY MANAGEMENT SYSTEM”
requirement for the award of the Degree of MASTER OF COMPUTER SCIENCE, is an authentic
External Examiner1
Lecturer in charge
External Examiner2
ACKNOWLEDGEMENT
We gratefully acknowledge the support and kind hearted cooperation by Mrs. Liji I H
Coordinator of M.Sc. Computer Science department and It is a great pleasure for me to
acknowledge the assistance of my case study guide Mrs. Lekshmi A C.
We extend our heartfelt thanks to our classmates, friends and well-wishers who helped us to
make this case study success. Above all we are thankful to God, almighty for the strength and
presence of mind to complete these studies successfully, we humbly solicit almighty's
blessings. Our sincere thanks and apologies to anyone who deserves the credit but whose
names fail to appear in the list above.
MUHAMMED THAMEEM M
ABSTRACT
In this Library Management System is a project based on the language PHP., you can enter
the record of new books and retrieve the details of books available in the library. You can issue
the books to the students and maintain their records. A college library management is a project
that manages and stores books information electronically according to student’s needs. The
system helps both students and library manager to keep a constant track of all the books available
in the library. It allows both the admin and the student to search for the desired book. It becomes
necessary for colleges to keep a continuous check on the books issued. . This task if carried out
manually will be tedious and includes chances of mistakes. These errors are avoided by allowing
the system to keep track of information such as issue date, last date to return the book. Thus this
system reduces manual work to a great extent allows smooth flow of library activities by
removing chances of errors in the details.
TABLE OF CONTENTS
1. INTRODUCTION 1
2. SYSTEM ANALYSIS 2
2.1 EXISTING SYSTEM 3
3.2 PROPOSED SYSTEM 5
3. SYSTEM SPECIFICATION 7
3.1 HARDWARE SPECIFICATION 7
3.2 SOFTWARE SPECIFICATION 7
3.3 DEVELOPING TOOLS 8
4. SYSTEM DESIGN 13
4.1 INPUT DESIGN 13
4.2 OUTPUT DESIGN 14
4.3 DATABASE DESIGN 15
4.4 DATA FLOW DIAGRAM 17
5. SYSTEM IMPLEMENTATION & TESTING 27
6.1 MODULE DESCRIPTION 27
6.2 IMPLEMENTATION
6.2 TESTING 28
6. CONCLUSION 31
7. REFERENCES 33
APPENDIX
Source code
Screenshots
1. INTRODUCTION
As the name suggest the LIBRARY MANAGEMENT SYSYTEM is a software which handles
the entire data of library. It makes the work of librarian very easy instead of writing data in a
notebook. In past the librarians were using notebooks to write the data of books along with
students name who borrowed that book. So it was very difficult to keep track on each and every
book.
If librarian want’s to search for a particular book then that task was very time consuming. This
program has been developed using PHP at Front End and file handling at Back End using SQL.
The software is very user friendly.
The system excludes the use of paper work by managing all the book information electronically.
Admin can keep updating the system by providing the new books arrival in system and their
availability thus students need not to go to library for issuing purpose. The system has books
well organized and systematically arranged in different categories in the system so that user can
easily search and find the book. Thus, it saves human efforts and resources.
1. SYSTEM ANALYSIS
Time and access can be obstacles to library research. Readers must get to the library during
library hours, which may not be convenient. They also may need to stay in the library for a long
time to ensure they have exhausted all resources. Some resources may not be available for
checkout, which means the student must stay in the library to use them. And those that do
circulate may be checked out by others and unavailable to anyone else.
The existing system is maintained manually. In the present system whenever the student and
librarian library details are maintained manually in the Reister bookS. Manually they have to
update the library details if they change datas. And it's very difficult to find someone's contact
number from the book easily.
System Analysis is a detailed study of the various operations performed by a system and their
relationships within and outside of the system. Here the key question is: What all problems exist
in the present system? What must be done to solve the problem? Analysis begins when a user or
manager begins a study of the program using existing system. In our existing system all the
transaction of books are done manually. So taking more time for a transaction like borrowing a
book or returning a book and also for searching of members and books. Another major
disadvantage is that to preparing the list of books borrowed and the available books in the library
will take more time, currently it is doing as a one day process for verifying all records. So we can
say, Fast report generation is not possible Tracing a book is difficult Information about
issue/return of the books is not properly maintained No central database can be created as
information is not available in database So after conducting the feasibility study we decided to
make the manual Library management system to be computerized.
2. PROPOSED SYSTEM
Proposed system is an automated Library Management System. Through our software
user can add books, search books, renewal, update information, edit information, and return
books in quick time. Our proposed system has the following advantages. This objective
overcame all the short comings of a manual system that was used daily. This includes the
following:
1. Developed a well-organized book issue and searching system.
2. Produced a well-designed and functioning system in accordance to the needs and
wants of the borrowers.
3. Minimized the task and the effort being performed by both the owners and borrowers.
4. Provided the school and the students a well-organize and well-presented reports.
5. User friendly interface
6. Fast access to database
7. Less error
8. More Storage Capacity
9. Search facility
10. Look and Feel Environment
11. Quick transaction
3. SYSTEM SPECIFICATION
PHP Tools:
xampp-win32-5.5.19-0-VC11
Functional requirements:
Should allow free hand drawing, object shapes such as circle, eclipse, and
rectangle for flow chart.
Non-functional requirements:
Input design is a part of overall system design that requires special attention because it is
the common source for data processing error. The goal of designing input data is to make
the entry easy and free from errors.
The "Library Management System" has been developed in a user-friendly manner. The
system has been designed so as to get a minimum number of inputs from the user. The
system promotes the data entry operator with menus and screens
The various outputs have been designed in such a way that they present the same format
that was used. In layout, the important items are highlighted so that they are easier to
find.
The program is designed in such a way that all pages have a title. Unique name is also
printed to show when the output has been prepared. It's also taken care of program by
giving the necessary details.
LIBRARY
MANAGEMENT
SYSYTEM
STUDENT LIBRARIAN
FIRST LEVEL DATA FLOW DIAGRA
LIBRARY
MANAGEMENT
SYSTEM
LOGIN
STUDENT
LIBRARIAN
STUDENT
LOGIN
BOOK DETAILS
DATA FLOW DIAGRAM BOOKS
STUDENT
LOGIN
RETURN BOOK
AVAILABLE DATA
NO DATA AVAILABLE
STATUS
NO BOOKS IN YOUR
ACCOUNT
RETURN
DATA FLOW DIAGRAM SEARCH BOOKS
STUDENT
LOGIN
SEARCH BOOK
STATUS
GET
ISSUED
DATA FLOW DIAGRAM LOG OUT
STUDENT
LOGIN
LOG OUT
HOME PAGE
DATA FLOW DIAGRAM VIEW BOOKS
LIBRARIAN
LOGIN
OPTION
DELETE EDIT
LIBRARIAN
LOGIN
APPROVAL STATUS
VIEW STUDENT
DETAILS
STATUS
APPROVED APPROVE
DATA FLOW DIAGRAM ADD BOOK
LIBRARIAN
LOGIN
ADD BOOK
SUBMIT RESET
DATA FLOW DIAGRAM SEARCH BOOK
LIBRARIAN
LOGIN
SEARCH BOOK
OPTION
DELETE EDIT
LIBRARIAN
LOGIN
LOG OUT
HOME PAGE
5. SYSTEM IMPLEMENTATION & TESTING
1. STUDENT MODULE
Students have to register themselves into the system to create an account. Students are given a
register number and password at the time of registration and login using that register number and
password. The students can also view the list of the books available in the entire library database.
In this menu option all the students will be able to view the books present in the database along
with their details. Get the available books if required.
We have given access to the students to search for a particular book. The student can search book
either by book name. Get the available books if required.
Here students can see the details of the books taken by the students, If you give the return option
here, the book will be returned.
1.4 Logout
By clicking the logout option, The student account page will be redirected to home page.
2. LIBRARIAN MODULE
In this project, the librarian can add, update, delete and create books,The entire rights are given
to the librarian to adding books, approving student account, and modify the book. This project
uses file handling to store the data of books in a project. The student can login only with the
approval of the librarian are the main features of this project
2.1 View Books
Same as students view books, librarians will also able to see the books available in the library
database and edit, delete options are available in view books.
Here librarian can see the details of the registered students, if approved ,the status will be
approved and if not, the status will be approve. If approved, the student will be able to login.
Enter the details of the books then submit , Reset option are available.
We have given access to the librarian to search for a particular book, also seeing details of the
student who took this book. The Librarian can search book either by book name. Edit or delete
the searched book if required
2.5 Logout
By clicking the logout option, The Librarian account page will be redirected to home page.
5.2 IMPLEMENTATION
In this project , create, read, update, and delete (CRUD) are the four basic operations of
persistent storage. CRUD is also sometimes used to describe user interface conventions that
facilitate viewing, searching, and changing information using computer-based forms and reports.
Data can be put in a location/area of a storage mechanism.
5.3 TESTING
Software testing is a critical element for software quality assurance and represents the ultimate
review of specification, design and coding. System testing is actually a series of different tests
whose primary objective is to fully exercise the computer based system. Although each test has a
different purpose, all of them work to verify the, and conducted successfully, it will uncover any
errors in the software. As a secondary benefit, testing could demonstrate that performance has
been met.
SYSTEM TESTING
System Testing is the stage of implementation, which is aimed at ensuring that the system works
accurately and efficiently as expected before live operation commences. It certifies that the
whole set of program hang together. System testing requires a test plan that consists of several
keys, activities and steps to run program, string, system and user acceptance testing. The
implementation of newly designed package is important in adopting a successful new system.
A good test is one that has a high probability of finding an as yet undiscovered error. They are all about
making sure that the product fulfills the requirements of the system. Then all about making sure that the
product fulfills the requirement of the system. Then the test procedures are designed for these test cases
and finally test scripts are created to implements the procedures. Two types of test case designs are white
box testing and black box testing. White box testing also called glass-box testing and it is focus on the
program control structure. Black box testing method focus on functional requirements of the software.
QUALITY
Quality software is reasonably bug-free, delivered on time and within budget, meets
requirements and/or expectations, and is maintainable. However, quality is obviously subjective
term. It will depend on who the customer is and their overall influence in the scheme of things. A
wide angle view of the customers of a software development project might include end-users,
customer acceptance testers, customer contract officers, customer management, the development
organization's management/account/testers/sales people, and future software.
SOFTWARE TESTING
Testing is the process of evaluating a system or its component(s) with the intent to find whether
it satisfies the specified requirements or not.
Testing is executing a system in order to identify any gaps, errors, or missing requirements in
contrast to the actual requirements.
Cost Effective Development - Early testing saves both time and cost in many aspects,
however reducing the cost without testing may result in improper design of a software
application rendering the product useless.
Product Improvement - During the SDLC phases, testing is never a time-consuming
process. However, diagnosing and fixing the errors identified during proper testing is a
time-consuming but productive activity.
Test Automation - Test Automation reduces the testing time, but it is not possible to
start test automation at any time during software development. Test automaton should be
started when the software has been manually tested and is stable to some extent.
Moreover, test automation can never be used if requirements keep changing.
Quality Check - Software testing helps in determining following set of properties of any
software such as
Functionality
Reliability
Usability
Efficiency
Maintainability
Portability
UNIT TESTING
In this testing we test each module individually and integrate the overall system. Unit testing
focuses verification efforts on the smaller unit of software design in the module. This is also
known as 'module' testing. The modules of the system are tested separately. The testing is
carried out during the programming stage itself. In this testing step each module is found to
work satisfactory as regard to the expected output from the module. There are some validation
checks for verifying the data input given by the user. It is very easy to find errors and debug the
system.
INTEGRATION TESTING
Data can be lost across an interface; one module can have an adverse effect on the other sub
functions when combined by May not produce the desired major functions. Integrated testing is
the systematic testing for constructing the uncover errors within the interface. This testing was
done with sample data. The need for an integrated test is to find the overall system performance.
IMPLEMENTATION TESTING
ADVANTAGES
The Library management system needs to be computerized to reduce human errors and to
increase the efficiency. The proposed Library management system in this proposal will be a
computerized management system developed to maintain all the daily work of library. Library
management systems are designed to store all the information about books and members. The
main focus of this project is to lessen human effort and encourage efficient record keeping.
Though we are making an offline version. If we able to make online version and also a student
(member) viewing section through creating account on this system.
Less error
Search facility
Quick transaction
Disadvantages
Books:-
Conn.php
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
$db = mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
?>
///////INDEX PAGE//////
index.php
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<body>
<div class="w3-top">
<div class="w3-bar w3-white w3-wide w3-padding w3-card">
<!-- Float links to the right. Hide them on small screens -->
</div>
</div>
</div>
</div>
</header>
</div>
<div class="w3-row-padding">
<div class="w3-display-container">
</div>
</div>
<div class="w3-display-container">
</div>
</div>
<div class="w3-display-container">
</div>
</div>
<div class="w3-display-container">
</div>
</div>
</div>
<div class="w3-row-padding">
<div class="w3-display-container">
</div>
</div>
<div class="w3-display-container">
</div>
</div>
<div class="w3-display-container">
</div>
</div>
<div class="w3-display-container">
</div>
</div>
</div>
<!-- About Section -->
<p> A library is a collection of sources of information and similar resources, made accessible to a
defined community for reference or borrowing. It provides physical or digital access to material and
may be a physical building or room, or a virtual space, or both. A library's collection can include
books, periodicals, newspapers, manuscripts, films, maps, prints, documents, microform, C Ds,
cassettes, videotapes, DVDs, Blu-ray Discs, e-books, audiobooks, databases, and other formats.
Libraries range in size from a few shelves of books to several million items. Sidney Sheldon
perfectly describes: “Libraries store the energy that fuels the imagination. They open up windows to
the world and inspire us to explore and achieve, and contribute to improving our quality of life.” </p>
</div>
<h3>John Doe</h3>
<p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
</div>
<h3>Jane Doe</h3>
<p class="w3-opacity">Architect</p>
<p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
</div>
<div class="w3-col l3 m6 w3-margin-bottom">
<h3>Mike Ross</h3>
<p class="w3-opacity">Architect</p>
<p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
</div>
<h3>Dan Star</h3>
<p class="w3-opacity">Architect</p>
<p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
</div>
</div>
</button>
</form>
</div>
<div class="w3-container">
</div>
</div>
</footer>
</body>
</html>
////////LOGIN PAGE////////
loginn.php
<html>
<head>
<style>
input[type=text], input[type=password] {
width: 100%;
margin: 8px 0;
display: inline-block;
box-sizing: border-box;
button {
background-color: #04AA6D;
color: white;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
button:hover {
opacity: 0.8;
}
/* Extra styles for the cancel button */
.cancelbtn {
width: auto;
background-color: #f44336;
.imgcontainer {
text-align: center;
position: relative;
img.avatar {
width: 40%;
border-radius: 50%;
.container {
padding: 16px;
span.psw {
float: right;
padding-top: 16px;
}
.modal {
left: 0;
top: 0;
padding-top: 60px;
/* Modal Content/Box */
.modal-content {
background-color: #fefefe;
margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
position: absolute;
right: 25px;
top: 0;
color: #000;
font-size: 35px;
font-weight: bold;
.close:hover,
.close:focus {
color: red;
cursor: pointer;
.animate {
@-webkit-keyframes animatezoom {
to {-webkit-transform: scale(1)}
}
@keyframes animatezoom {
to {transform: scale(1)}
/* Change styles for span and cancel button on extra small screens */
span.psw {
display: block;
float: none;
.cancelbtn {
width: 100%;
</style>
</head>
<body>
<div class="form-wrapper">
<h3>Login here</h3>
<div class="container">
<label for="uname"><b>Username</b></label>
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="pass" required>
</div>
</form>
<?php
if (isset($_POST['login']))
//print_r($row);
$num_row = mysqli_num_rows($query);
if ($num_row > 0)
$_SESSION['id']=$row['id'];
$_SESSION['accounttype']=$row['accounttype'];
$_SESSION['status']=$row['status'];
if($row['accounttype']=='admin')
header('location:home.php');
//echo $RRR;
else
{
if($_SESSION['status']=='approved')
header('location:studenthome.php');
else{
?>
</div>
</body>
</html>
/////STUDENTHOME PAGE//////
<html>
<html>
<body bgcolor="87ceeb">
<br>
<?php
session_start();
$sess_id = $_SESSION['id'];
include("conn.php");
// PRINT_R($_REQUEST);
$search = $_REQUEST["search"];
$query = "select*from book_info where title like '%$search%'" ; //search with a book name in the table
book_info
$result = mysqli_query($db,$query);
else{
$query = "select*from book_info " ; //search with a book name in the table book_info
$result = mysqli_query($db,$query);
if(mysqli_num_rows($result)>0)if(mysqli_num_rows($result)>0)
?>
<tr>
<th> Status</th>
</tr>
$gtt = $row['get'];
?>
<tr>
<td>
<?php
if($gtt=='selled')
echo 'ISSUED';
else
<?php
} ?>
</tr>
<?php
else
echo "<center>No books found in the library by the name $search </center>" ;
?>
</table>
</body>
</html>
//GET
<?php session_start();
$sess_id = $_SESSION['id'];
PRINT_R($_SESSION);
$isbn = $row['isbn'];
$title = $row['title'];
$author = $row['author'];
$edition = $row['edition'];
$publication = $row['publication'];
if($edit)
ECHO 'SUSS';
///exit;
else
echo mysqli_error();
ELSE
{
?>
////RETURN BOOK/////
<html>
<body bgcolor="87ceeb">
<br>
<?php
session_start();
$sess_id = $_SESSION['id'];
include("conn.php");
//$search = $_REQUEST["search"];
$query = "select * from book_info where user_ID = '$sess_id' and get = 'selled'"; //search with a book
name in the table book_info
$result = mysqli_query($db,$query);
if(mysqli_num_rows($result)>0)
?>
<table border="2" align="center" cellpadding="5" cellspacing="5">
<tr>
<th> Status</th>
</tr>
<?php
while($row = mysqli_fetch_assoc($result))
$gtt = $row['get'];
?>
<tr>
<td>
<?php
if($gtt=='selled')
{?>
else
?>
<?php
} ?>
</tr>
<?php
else
?>
</table>
</body>
</html>
//RETURN
<?php
session_start();
$sid=$_SESSION['id'];
$isbn = $row['isbn'];
$title = $row['title'];
$author = $row['author'];
$edition = $row['edition'];
$publication = $row['publication'];
$GET = $row['publication'];
if($edit)
echo 'SUSSESS';
///exit;
else
echo mysqli_error();
else
?>
////SEARCH BOOK/////
<html>
<body bgcolor="87ceeb">
<br></br>
</center>
<br>
</form>
</body>
</html>
//DISPLAY BOOK
<html>
<body bgcolor="87ceeb">
<br>
<?php
session_start();
$sess_id = $_SESSION['id'];
include("conn.php");
// PRINT_R($_REQUEST);
$search = $_REQUEST["search"];
$query = "select*from book_info where title like '%$search%'" ; //search with a book name in the table
book_info
$result = mysqli_query($db,$query);
else{
$query = "select*from book_info " ; //search with a book name in the table book_info
$result = mysqli_query($db,$query);
if(mysqli_num_rows($result)>0)if(mysqli_num_rows($result)>0)
?>
<tr>
<th> Status</th>
</tr>
<?php
while($row = mysqli_fetch_assoc($result))
$gtt = $row['get'];
?>
<tr>
<td>
<?php
if($gtt=='selled')
echo 'ISSUED';
Else
?>
<?php
} ?>
</tr>
<?php
}
}
else
echo "<center>No books found in the library by the name $search </center>" ;
?>
</table>
</body>
</html>
//////LIBRARIAN HOME/////
///////DISPLAY//////
<?php
session_start();
if(isset($_SESSION['id']))
?>
<html>
<body bgcolor="87ceeb">
<br>
<?php
include("conn.php");
// PRINT_R($_REQUEST);
$search = $_REQUEST["search"];
$query = "select * from book_info where title like '%$search%'" ; //search with a book name in the table
book_info
$result = mysqli_query($db,$query);
else{
$query = "select*from book_info" ; //search with a book name in the table book_info
$result = mysqli_query($db,$query);
if(mysqli_num_rows($result)>0)if(mysqli_num_rows($result)>0)
?>
<tr>
</tr>
$gtt = $row['get'];
?>
<tr>
<td><?php
if($gtt=='selled')
$uid = $row['user_ID'];
$query2 = "select*from studentreg where id = '$uid' " ; //search with a book name in the table book_info
$result2 = mysqli_query($db,$query2);
$row2 = mysqli_fetch_assoc($result2);
<?php
ECHO $row2['regno'];
?><br>
<?php
echo $row2['name'];
else
echo "Available";
?>
<?php
} ?>
</td>
</tr>
<?php
else
echo "<center>No books found in the library by the name $search </center>" ;
?>
</table>
</body>
</html>
<?php
?>
//EDIT BOOK
<?php
$isbn = $_POST['isbn'];
$title = $_POST['title'];
$author = $_POST['author'];
$edition = $_POST['edition'];
$publication = $_POST['publication'];
if($edit)
{
mysqli_close($db); // Close connection
exit;
else
echo mysqli_error();
?>
<html>
<body bgcolor="87ceeb">
<!--Once the form is submitted, all the form data is forwarded to InsertBooks.php -->
<tr>
<td> <input type="text" name="isbn" value="<?php echo $row['isbn'] ?>" size="48"> </td>
</tr>
<tr>
<td> <input type="text" name="title" value="<?php echo $row['title'] ?>" size="48"> </td>
</tr>
<tr>
<td> Enter Author :</td>
<td> <input type="text" name="author" value="<?php echo $row['author'] ?>" size="48"> </td>
</tr>
<tr>
<td> <input type="text" name="edition" value="<?php echo $row['edition'] ?>" size="48"> </td>
</tr>
<tr>
</tr>
<tr>
<td></td>
<td>
</td>
</tr>
</table>
</form>
</body>
</html>
//DELETE BOOKS
<?Php
include("conn.php");
$id = $_GET['id']; // get id through query string
if($del)
exit;
else
?>
<?php
session_start();
if(isset($_SESSION['id']))
?>
<html>
<body bgcolor="87ceeb">
<br>
<?php
include("conn.php");
$search = $_REQUEST["search"];
$query = "select*from studentreg where accounttype like 'student'" ; //search with a book name in the
table book_info
$result = mysqli_query($db,$query);
if(mysqli_num_rows($result)>0)if(mysqli_num_rows($result)>0)
?>
<tr>
<th> ADDRESS</th>
</tr>
{ $gtt = $row['status'];
?>
<tr>
<td><?php
if($gtt=='')
?>
<?php
else
echo "approved";
?>
</td>
<td>
<?php
} ?>
</tr>
<?php
else
echo "<center>No books found in the library by the name $search </center>" ;
?>
</table>
</body>
</html>
//APPROVE
<?php
session_start();
$sid=$_SESSION['id'];
$name = $row['name'];
$address = $row['address'];
$mob = $row['mob'];
$course = $row['course'];
if($edit)
ECHO 'SUSS';
///exit;
else
{
echo mysqli_error();
else
?>
////ADD KOOKS///
<html>
<body bgcolor="87ceeb">
<!--Once the form is submitted, all the form data is forwarded to InsertBooks.php -->
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td></td>
<td>
</td>
</tr>
</table>
</form>
</body>
</html>
//INSERT BOOKS
<html>
<body bgcolor="87ceeb">
<br>
<?php
session_start();
$sess_id = $_SESSION['id'];
//PRINT_R($_SESSION);
include("conn.php");
$isbn=$_POST["isbn"];
$title=$_POST["title"];
$author=$_POST["author"];
$edition=$_POST["edition"];
$publication=$_POST["publication"];
$query = "INSERT INTO `book_info`(`id`, `isbn`, `title`, `author`, `edition`, `publication`, `get`,
`user_ID`) VALUES
$result = mysqli_query($db,$query);
if($result)
?>
<a href="Search.php"> To search for the Book information click here </a>
<?php
else
echo 'errrr';
}
?
</body>
</html>
//SEARCH BOOKS
<html>
<body bgcolor="87ceeb">
<br></br>
</center>
<br>
</form>
</body>
</html>
SCREENSHORTS
HOME PAGE :-
LOGIN PAGE:
STUDENT REGISTRATION:
ADD BOOKS:
SEARCH BOOK: