PHP Projects

Online Library Management System

Project Name : Online library Management System
Language Used                  :  PHP
Database                            :  My SQL
User Interface Design       :  HTML, AJAX,JQUERY,JAVASCRIPT
Web Browser                      :  Mozilla, Google Chrome, IE8,OPERA
Software                              :    XAMPP Server

View DemoInstallation Guide

Online library Management System divided in two modules–

  • Student
  • Admin

Admin Features

  • Admin Dashboard
  • Admin can add/update/ delete category
  • Admin can add/update/ delete author
  • Admin can add/update/ delete books
  • Admin can issue a new book to student and also update the details when student return book
  • Admin can search student by using their student ID
  • Admin can also view student details
  • Admin can change own password


  • Student can register yourself and after registration they will get studentid
  • After login student can view own dashboard.
  •  Student can update own profile.
  • Student can view issued book and book return date-time.
  • Student can also change own password.
  • Student can also recover own password.

How to run this Project
1. Download and Unzip file on your local system copy library.
2. Put library folder inside root directory
Database Configuration
Open phpmyadmin
Create Database library
Import database library.sql (available inside zip package)
For User
Open Your browser put inside browser “http://localhost/library”
Login Details for user :
Username :
Password : Test@123
For Admin Panel
Open Your browser put inside browser “http://localhost/library/admin”
Login Details for admin :
Username : admin
Password : Test@123

Download full source code(Online Library Management System)
Size: 2.04 MB
Version: V 2

Purchase Report

Purchase Project  Report in Rs 249/ $3.8

Recommended Tutorials for you


Anuj kumar

This is Anuj Kumar. I’m a professional web developer with 5+ years of experience. I write blogs in my free time. I love to learn new technologies and share with others. I founded PHPGurukul in September 2015. The main aim of this website to provide PHP, Jquery, MySQL, PHP Oops and other web development tutorials. .


  1. How can I set default date and time because when i’m using free hosting the date and time are different? My needed date and time is Malaysian. Hope admin can help. Thank

    1. Set default Malaysian time zone
      < ?php date_default_timezone_set("Asia/Kuala_Lumpur"); echo date('d-m-Y H:i:s'); //Returns IST ?>

          1. Hi admin,
            for example this line code
            IssuesDate);?> if i need the result issues date to malaysia time

  2. Showing this error message
    SQL query:

    — Database: `library`

    — ——————————————————–

    — Table structure for table `admin`

    CREATE TABLE `admin` (
    `id` int(11) NOT NULL,
    `FullName` varchar(100) DEFAULT NULL,
    `AdminEmail` varchar(120) DEFAULT NULL,
    `UserName` varchar(100) NOT NULL,
    `Password` varchar(100) NOT NULL,
    `updationDate` timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00’ ON UPDATE CURRENT_TIMESTAMP
    MySQL said: Documentation
    #1050 – Table ‘`library`.`admin`’ already exists

  3. I’ve pasted the php script on my vps and everything works but the verification code is like broken image link, i’ve checked for the gd library it says it is enabled
    Any other suggestions

  4. Dear Mr Kumar,
    Thank you for building the Online Library Management System. I was hoping to use your software as a base for a system to be used by the charity I work for. However, I noticed that you don’t list an open-source license on the download web page. Is your software free to use and modify? Does it fall under any specific license? Any information you can provide regarding this would be a great help.
    Jason Liu

  5. signup.php for signup new student is not working. it says “something went wrong please try again later”.

  6. Such a huge and great post!! I think phpgurukul is always epic in project. Thanks for sharing this type of tricky guideThis post is very useful to me

  7. my admin is not working
    i tried username – admin
    it says invalid detail
    what should i do please help ASAP!

    1. For Admin Panel
      Open Your browser put inside browser “http://localhost/library/admin”
      Login Details for admin :
      Username : admin
      Password : Test@123

        1. For Admin Panel
          Open Your browser put inside browser “http://localhost/library/admin”
          Login Details for admin :
          Username : admin
          Password : Test@123

  8. Sir,
    my college project ask to add book stock, and after issue book it will be get deducted from current stock.
    Can you help me out ?

    1. Open Your browser put inside browser “http://localhost/library/admin”
      Login Details for admin :
      Username : admin
      Password : Test@123

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button

Adblock Detected

Please disable your ad blocker! This site is supported by the advertisement Please disable your ad blocker to support us!!!