PHP mc
PHP mc
MICRO PROJECT
Academic year: 2024-25
Certificate
This is to certify that Mr. /Ms. Shivam V. Narkar of Sixth Semester of
Diploma in Computer Engineering (CO) of Institute, B. V. POLYTECHNIC
(Code: 0093) has completed the Micro Project satisfactorily in Subject –
WBP (22619) for the academic year 2024- 2025 as prescribed in the
curriculum.
Seal of
Institution
Annexure – I
Part A: Micro Project Proposal
Proposed Methodology:
1. Literature survey.
2. Collect information through different sources
3. Analysis of data.
4. Compilation of collected data.
01 Shivam Narkar
1.0 Rationale: The aim is to study and analyze the Impact of 1991 Reforms on Indian Economy
Sr.
Name of resources/Material Specifications Qty Remarks
No.
Processor: i3
1. Computer 1
RAM : 4.00 GB
2. -
Microsoft Word Word -2016
3. 1
Printer Hp Laser Jet
4. -
Refer Book Learning Manual of
Software Engineering by
MSBTE.
2 Literature Survey
Information Collection
3 Completion of the
Target as per project
proposal
6 Report Preparation
7 Presentation .
8 Viva
BOOK-ENTRY
By clicking the Book Entry Menu of the HTML web page ( home page) the above form is shown for the
entry of new books in the library. Following TextBoxes have been delivered for the entry of the books
related information:
1. Book no.
2. ISBN No.
7
3. Subject 4. Name of the Book 5. Author 6. Publisher 7. Edition 8.
Copies 9. Price In addition, Enter and Reset buttons have been
provided in the form.
USER ACCOUNTS
By clicking any one of the menus 'BOOK ISSUE' or BOOK RETURN', the webpage will first direct to a
"User Entry” page and this form can be obtained for the entry of the new user coming to the library as a
user account as well as the returning of a book
In addition, the login and Refresh buttons have been provided in the form.
BOOK ISSUE
This form can be obtained by clicking the “BOOK ISSUE" for allocating a particular book available in the
library along with the issue and due date.
The following text boxes have been delivered for entry of Allocation of the Book.
BookNo.
StudentID
CurrentNo.ofCopiesAvailable
IssueDate
DueDate
In addition, the Issue and Refresh buttons have been given in the form.
BOOK RETURN
This form can be fetched by clicking the "BOOK RETURN" for returning a particular book issued to the
user from the library along with the issue, due date, and return date with a fine if any.
The following text boxes have been provided for entry of return of the Books.
Book No.
Student ID
Current No. of Copies Available
Issue Date
Due Date
Fine, if any
In addition, Return and Refresh buttons have been given in the form.
BOOK SEARCH
This form can be acquired by clicking the menu "BOOK SEARCH" for getting particulars about a
particular book.
The following text boxes have been provided for entry of return of the Books.
BookName
AuthorName.
If the book is found in the database, then the resulting web page will be shown.
BOOK DELETE
By clicking the Delete Menu of the HTML web page (home form) this form is shown for the deletion of
books in the library if required. Following TextBoxes have been provided for the finding books for
deletion:
9
Book Name
Author Name.
Table Design
Every web page is connected to a database (Microsoft Access 2010) form using a JSP page. And table
design for each form is given as follows.
USER ACCOUNT
STUDENT ID AuoNumber
ROLL NO Number
BRANCH
New Book entry
ID AuoNumber
BOOK_NAME Text
ISBN Number
AUTHOR_NAME Text
PUBLISHER Number
EDITION
NO_OF_COPIE
Number
S
COST
Number
BOOK ISSUE
BOOK NO AuoNumber
STUDENT ID Number
NO OF COPIES Number
14
ISSUE DATE Number
BOOK RETURN
BOOK NO AuoNumber
STUDENT ID Number
NO OF COPIES Number
15
6. ACTUAL METHODOLOGY FOLLOWED
PROGRAM CODE
A server-side technology, Java Server Pages is an extension to the Java servlet technology that was
created by Sun. JSPs have a dynamic scripting ability that works in tandem with HTML code,
separating the page logic from the static elements -- the actual design and display of the page -- to
assist create the HTML more functional (i.e. dynamic database queries). JSP codes that I used are
listed below.
1 LIB ENTRY
Code.
<%@page import="java.sql.*"%>
<%@page import-"java.io.*"%>
<html>
<body>
<%
String bno-request.getParameter("book_no");
String bn-request.getParameter("book_name");
String isbn-request.getParameter("book_isbn");
String sub-request.getParameter("book_subject");
String an-request.getParameter("author_name");
String pub-request.getParameter("book_publisher"); String ed-
request.getParameter("book_edition");
String cp-request.getParameter("no_of_copies");
String cst-request.getParameter("book_cost");
Class.forName("sun.jdbc.odbc.JdbcOdbc Driver");
Connection con-DriverManager.getConnection("Jdbc.Odbc:NEWBOOK");
Statement stmt-con.createStatement();
String s="INSERT INTO new_book_entry
тел
VALUES("+bno+":"+bn+":"+isbn+":"+sub+","+an+":"+pub+","+ed+":"+cp+":"+cst+"')";
stmt.executeUpdate(s);
con.commit();
%>
<body background-"image/7.jpg">
<br><br><br>
<br><center>
<FONT FACE-"COMIC SANS MS" COLOR="GREEN" SIZE="40%">
BOOK ADDED</CENTER></FONT><BR><BR>
<center><table width="40%" height="10%" bgcolor="#8ACA59"> <tbody>
<tr>
<td colspan=2 align="center"></td>
</tr>
<tr>
</tr>
<td><h3>A new book added to database!!!!!!</h3></td>
</tbody>
<BR><BR><BR>
</table>
</form>
</form>
<form name="form 1" action="BOOK_ISSUE.html">
16
<br><br><br><input type="submit" value="BACK" style="height: 50px; width:
150px"></center>
</form>
</body>
</html>
2.LIB ISSUE
Code:
<%@page import-"java.sql."%>
<%@page import-"java.io.*"%>
<html>
<body>
<%
String bno-request.getParameter("book_no");
String sid-request.getParameter("student_id");
String cp-request.getParameter("no_of_copies"); String is-request.getParameter("issue_date");
String rd-request.getParameter("return_date");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con-DriverManager.getConnection("Jdbc:Odbc:ISSUE"); Statement stmt-
con.createStatement();
String s-"INSERT INTO book_issue
VALUES(""+bno+":"+sid+", "+cp+":"+is+""""+rd+"")";
stmt.executeUpdate(s);
con.commit();
%>
<body background="image/7.jpg">
<br><br><br>
<br><center>
<FONT FACE="COMIC SANS MS" COLOR="GREEN" SIZE="40%">
BOOK ADDED</CENTER></FONT><BR><BR>
<center><table width="40%" height="10%" bgcolor="#8ACA59">
<tbody>
<tr>
<td colspan-2 align="center"></td>
</tr>
<tr>
</tr>
<td><h3>BOOK ISSUED!!!!!!</h3></td>
</tbody>
<BR><BR><BR>
</table>
</form>
</form>
<form name="form 1" action="BOOK ISSUE.html">
<br><br><br><input type="submit" value="BACK" style="height: 50px; width.
150px"></center>
</form>
</body>
</html>
3. LIB RETURN
Code:
<%@page import-"java.sql."%>
<%@page import-"java.io.*"%>
17
<html>
<body>
String bno-request.getParameter("book_no"); String sid-request.getParameter("student_id");
String cp-request.getParameter("no_of_copies");
String is-request.getParameter("issue_date");
String rd-request.getParameter("return_date");
String fn-request.getParameter("fine");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con-DriverManager.getConnection("Jdbc.Odbc.RETURN"); Statement stmt-
con.createStatement();
String s-"INSERT INTO book_return
VALUES("+bno+":"+sid+":"+cp+":"+is+":"+rd+":"+fn+")";
%>
stmt.executeUpdate(s);
con.commit();
<body background="image/7.jpg">
<br><br><br>
<br><center>
<FONT FACE="COMIC SANS MS" COLOR="GREEN" SIZE="40%">
BOOK ADDED</CENTER></FONT><BR><BR>
<center><table width="40%" height="10%" bgcolor="#8ACA59">
<tbody>
<tr>
<td colspan=2 align="center"></td>
</tr>
<tr>
</tr>
<td><h3>BOOK RETURNED!!!!!!</h3></td>
</tbody>
<BR><BR><BR>
</table>
</form>
</form>
<form name="form1" action="USER_ACCOUNTS1.html">
<br><br><br><input type="submit" value="BACK" style="height: 50px; width:
150px"></center>
</form>
</body>
</html>
4. LIB SEARCH
Code:
<%@page import-"java.sql."%> <%@page import-"java.io."%>
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con-DriverManager.getConnection("Jdbc.Odbc.SEARCH"); Statement stmt-
con.createStatement();
String sub-request.getParameter("bname");
String st="select * from new_book_entry where BOOK_NAME="+sub+" ResultSet rs-
stmt.executeQuery(st);
%>
<html>
18
<head> <title></title> </head> <body background="image/9.jpg"> <form method="POST"
action=""> <center> <% if(rs.next()) { %> <br><br><br><br> <table border="1"> <BR><BR><BR>
<BR><BR><BR> <tr> <td><font face="comic sans ms" color="yellow">Book Id</font></td> <td>
<font face="comic sans ms" color="yellow">Book Name</font></td> <td><font face="comic sans
ms" color="yellow">ISBN NO</font></td> <td><font face="comic sans ms"
color="yellow">Subject</font></td> <td><font face="comic sans ms" color="yellow">Author
Name</font></td> <td><font face="comic sans ms" color="yellow">Publisher</font></td> <td>
<font face="comic sans ms" color="yellow">Edition</font></td> <td><font face="comic sans ms"
color="yellow">No of Copies</font></td> <td><font face="comic sans ms"
color="yellow">Cost</font></td> </tr> <% do { %> <tr> <td><font face-"comic sans ms"
color="yellow" ><%out.println(rs.getString("BOOK_NAME"));%></font></td> <td><font face-
"comic sans ms" color="yellow" ><%out.println(rs.getString("ID")); %></font></td> <td><font face-
"comic sans ms" color="yellow" ><%out.println(rs.getString("ISBN")); %></font></td> <td><font
face-"comic sans ms" color="yellow" ><%out.println(rs.getString("SUBJECT")); %></font></td>
<td><font face="comic sans ms" color="yellow" ><%out.println(rs.getString("AUTHOR_NAME"));
%></font></td> <td><font face="comic sans ms" color="yellow" >
<%out.println(rs.getString("PUBLISHER")); %></font></td> <td><font face="comic sans ms"
color="yellow" ><%out.println(rs.getString("EDITION")); %></font></td> <td><font face="comic
sans ms" color="yellow" ><%out.println(rs.getString("NO_OF_COPIES")); %></font></td> <td>
<font face-"comic sans ms" color="yellow" ><%out.println(rs.getString("COST")); %></font></td>
</tr> } while(rs.next()); } else {
19
%>
<br><br><br><br><br><br<br><br><br><font face="comic sans ms"
color="yellow" size="20%">
<%
out.println("No such books found !!!!!!");
}
}
catch(Exception e)
{
System.out.println(e);
}
%7
</table>
</center>
</form>
</form>
<CENTER><form name="form1" action="BOOK_SEARCH.html">
<br><br><br><input type="submit" value="BACK" style="height: 50px; width:
150px"></center>
</form>
</body>
</html>
5.LIB_DELETE
Code:
<%@page import-"java.sql."%> <%@page import-"java.io.*"%>
<html>
<body background="image/9.jpg">
<%
Class.forName("sun.jdbc.odbe.Jdbc0dbcDriver");
Connection con-DriverManager.getConnection("Jdbc.Odbc.NEWBOOK"); Statement st-
con.createStatement();
String find-request.getParameter("bname");
String r="select * from new_book_entry where BOOK_NAME="+find+"
ResultSet rs-st.executeQuery(r);
if(rs.next())
{
%>
<body background-"image/7.jpg">
<h1><center><b><font color="green"><BR><BR><BR>
<CENTER><FONT FACE="COMIC SANS MS" COLOR="GREEN" SIZE="40%">
BOOK DELETED</CENTER></FONT><BR><BR>
<form action="BOOK_DELETE.html">
<center><br><br><br><input type="submit" value="BACK" style="height: 50px; width:
150px"></center>
</form>
String delete="DELETE* from new_book_entry where BOOK_NAME="+find+"
st.executeUpdate(delete);
con.commit();}
else
{
<body background="image/7.jpg">
<BR><BR><BR><BR><BR><BR><CENTER><FONT FACE-"COMIC SANS MS"
20
COLOR="GREEN" SIZE="40%">
INVALID ENTRY</CENTER></FONT><CENTER><BR><BR>
<form action-"BOOK DELETE.html">
<center><br><br><br><input type="submit" value="BACK" style="height: 50px; width:
150px"></center>
</form>
<% } %>
</body>
</html>
</form>
</body>
</html>
6. LIB USER
Code:
<%@page import-"java.sql."%>
<%@page import-"java.io.*"%>
<html>
<body>
<%
String sid-request.getParameter("student_id"); String r-request.getParameter("roll_no");
String snm-request.getParameter("student_name"); String br-request.getParameter("branch");
Class.forName("sun.jdbc.odbc.Jdbc0dbcDriver");
Connection con-DriverManager.getConnection("Jdbc.Odbc.USER"); Statement stmt-
con.createStatement();
String s-"INSERT INTO user_account VALUES ("+sid+":"+m+":"+snm+":"+br+"')";
stmt.executeUpdate(s);
con.commit();
%7
</body>
</html>
21
7. ACTUAL RESOURCES USED
After we have finished the assignment we are sure that the problems in the current system would
overcome. The “LIBRARY MANAGEMENT SYSTEM" process was made computerized to reduce
human mistakes and to improve efficiency. The main focus of this assignment is to reduce human
efforts. The upkeep of the records is made efficient, as all the records are kept in the ACCESS
database, through which data can be recovered easily. The navigation control is fed in all the forms
to navigate through a large number of records. If the numbers of records are very large then the user
has to just type in the search string and the user gets the results instantly. The editing is also made
simpler. The user has to just type in the necessary field and press the submit button to get the desired
information.
11. REFERENCE
https://www.researchgate.net/
https://www.gsma.com/
https://pubmed.ncbi.nlm.nih.gov
www.campusify.co.in