PHP Guestbook Script

PHP Guestbook Script is developed using PHP and MySQL databases. Guestbook script helps you to place a guestbook feature on the website that is useful to visitors to the website. You can submit comments and reviews on your blog using this website script. All guest book records are kept in the MySQL database. The admin is the master user who can edit and erase documents.

Features of PHP Guestbook Script:

  • This software helps you to add a guestbook script to your website. This file is free software and you can redistribute or change it according to your specifications.
    It’s a totally adjustable look, quick surfing, and helpful for the blog platform.
  • This is a competent PHP and MySQL-based object-oriented programming (OOP) entirely customizable guestbook.
  • You will use this to leave a note on your website.
  • The script requires visitors to input their name, e-mail, title, and comments.
  • An admin tab to view all of the documents.
  • Admin page to change the entry and remove the entry.

Project title: PHP Guestbook Script

Front End: The four pages of PHP are admin.php, conf.php, db.class.php, gb.php

Back End: MySQL Server

The name of the SQL file is test.sql

It’s very easy to Install.
1. First step is to unzip the files and copy them to a directory.
2. Use the included table.sql file to create the table for the guestbook.
3. Update conf.php to your database configuration accordingly and also update different variables for the guestbook.
4. Admin page is admin.php

Hope you like it, man. If you are using this guestbook on your website, please send an email to so that I can take a look, or if you need help setting up this guestbook or customizing it, please write your comments in this post. I’m going to be more than happy to support you.




A collection of source codes that I wrote in VB 6.0, ASP.NET, PHP, C#.NET, VB.NET and JAVA in a course of my career as web developer and software engineer that I would like to share to my fellow programmers. Some of the codes here is not my original work that I found over the Internet and Books while I'm learning how to program. I hope you find my work useful in your learning in programming. Please share my work to other people also who interested to learn the basics of web development and programming. Thank you very much and Happy Productive Programming Everyone. for more info please WhatsApp us on +91-9481545735 or Email id:


  • abdul mobeen

    August 4, 2012 - 1:11 AM

    Hi, I am mobeen… i’ve downloaded the script.. and i’ve imported the table into my database, updated the conf.php file according to my settings but i’ve getting this error…

    Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user ‘ODBC’@’localhost’ (using password: NO) in C:xampphtdocsGuest_bookGuest_bookAn Easy GuestBookdb.class.php on line 49

    Warning: mysql_error() expects parameter 1 to be resource, boolean given in C:xampphtdocsGuest_bookGuest_bookAn Easy GuestBookdb.class.php on line 50

    please help me.. how to resolve this…

  • vikas

    April 9, 2013 - 10:17 PM

    Thanks so much i have used this Guestbook on my website

  • seema

    August 28, 2013 - 11:41 AM


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.