Online Library Management System using PHP and MySQL

Anuj Kumar

Hi! I am Anuj Kumar, a professional web developer with 5+ years of experience in this sector. I found PHPGurukul in September 2015. My keen interest in technology and sharing knowledge with others became the main reason for starting PHPGurukul. My basic aim is to offer all web development tutorials like PHP, PDO, jQuery, PHP oops, and MySQL, etc. Apart from the tutorials, we also offer you PHP Projects, and we have around 80+ PHP Projects for you.

Recommended Tutorials for you...

You may also like...

159 Responses

  1. Aabid says:

    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

  2. Ritik says:

    my admin is not working
    i tried username – admin
    password-test@123
    it says invalid detail
    what should i do please help ASAP!

    • Anuj Kumar says:

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

      • nadeeshan dhammika says:

        admin login is not working

        • Anuj Kumar says:

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

  3. herbert says:

    hy it is asking me verification code

  4. Rajib says:

    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 ?

  5. tijl schipper says:

    My admin-login dosn’t work….

  6. Danush Murali says:

    hi I just downloaded this project, though I copied the folder in my htdocs on xampp folder, the project dosen’t seem to run, it says object not found, please help me out.

    • Anuj Kumar says:

      Download and Unzip the file on your local system copy library.
      Put library folder inside the root directory

  7. sunil rauthan says:

    sir admin & user not login ….

  8. priyanka says:

    how many days to recieve the report .after scccessfull transaction.and how many pages have their ..report sending is via post or email id?

  9. ashraf says:

    hi sir good morning .how are you …sir how to set automatic fine in the issue book..

  10. Rohit Singh says:

    if($_SESSION[‘alogin’]!=”){
    $_SESSION[‘alogin’]=”;
    }
    what is the reason behind writing these lines ? Can you please make me understand as I am not able to do so by myself. When I change alogin to something different it doesn’t redirect me to dashboard instead it redirect me to index.php. Please reply as soon as possible as I am stuck at that point.

    • Anuj Kumar says:

      This code for validating user session. If user visit login page after successful login then the session will be automatically empty he/she has to login again.

  11. sunil rauthan says:

    sir how to create the database in phpmyadmin please help me

  12. ashraf says:

    Hi sir .thank u for designing the online library management system..i downloaded and submitted to this project to my guid..he told that please update the report module or complaint module in the student login page..and it will generate the complaint in the admin module..please tell me how to do.please sir.

  13. ashraf says:

    hi sir thank you for design the online library management system..i submitted this project to my guide…he told that please update the reporte module or complaint module ..please tell me how to add report module in the student login..please help me sir……………………………..

  14. vidhya says:

    Sir,i updated the date in admin table ,it is not login and showing invalid hosts, i changed and forgotten the password,how should i login sir…immediately i need the solution

  15. Preeti Singh says:

    Plz mail me the project preetisinngh1996@gmail.com

  16. Shweta Saini says:

    sir, how can we delete a student from reg student list?

  17. Prem says:

    sir how this code work plz help me can u send me instructions step by step plz help…..

    • Anuj Kumar says:

      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 : test@gmail.com
      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

  18. fns says:

    sir why can’t I login as the admin? I already read and follow readme.txt. there it stated that admin / Test@12345 is the username and password, but when i login using those id it is invalid. can u please help me sir 🙂

  19. kim says:

    Sir how to make Database Configuration

  20. ridima says:

    where to place library folder ?

  21. Julian says:

    Nice work bro. Please i need the codes. Thanks

  22. Jacob says:

    I am also facing the same problem sir. Pls send new update to my mail id… Mail id: jacobpj077@gmail.com

  23. Chikku Joseph says:

    Sir i found one error.
    i can not add a new book category. i got “error: something went wrong. please try again.”
    i will be very glad if you help me.
    thank you

  24. Brinjal says:

    How student or user can issue book? There are no option for issue book.

  25. john jerik laborera says:

    please send me the code at my gmail(johnjeriklaborera@gmail.com) Thank you
    THe problem is Error: SQLSTATE[HY000] [1049] Unknown database ‘library’..

Leave a Reply

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