Our free PHP Guestbook script uses JS code to display the comments so you can put them on any valid html page and there will be no page refresh when comment is posted since Ajax is used for comments form submitting.

External CSS file is used to style the look of the guest book comments.

Please check the Demo page of the GuestBook Script to see it in action and also check installation instructions. If you have problems, need help or customization or have a suggestion for improvement please use the comments box below.


To download GuestBook Script for FREE you need to login your account.

how to install

Follow these steps to run this free Guest Book php script

1) open database.sql and import all the MYSQL queries in your database. There are few sample records added to the database too.

2) edit config.php file and set MySQL login details to connect to your database

3) using your web browser open example-page.html page and you will see all the comments posted and a web form to post a new comment on the GuestBook.

4) to put the GuestBook script on another web page just add this code to the web page

<div id="GuestBook"> </div>
<script language="javascript" src="guestbook.js"></script>

where you want the comments to appear. Do not forget to include the CSS code too

<link href="guestbook.css" rel="stylesheet" type="text/css" />
1291 Comments to "GuestBook Script"
  • ghkkll


    April 3, 2017 at 06:15 am

    заказать продвижение интернет ресурса логин скайпа pokras77777

  • Mary


    March 17, 2017 at 11:11 am

    Ai, 73% lint problems in de .js file...

  • Torak


    March 8, 2017 at 14:38 pm

    Uncaught ReferenceError: SubmitComment is not defined
    at HTMLInputElement.onclick ????

  • FelixT


    January 31, 2017 at 11:14 am

    I really enjoyed reading , bookmarked your page

  • roberto wilcox

    roberto wilcox

    September 25, 2016 at 06:15 am

    thanks PHP jabbers team

  • nagai


    September 8, 2015 at 09:54 am


  • bhavdip


    August 21, 2015 at 06:42 am

    thank you

  • Danesh


    August 9, 2015 at 16:40 pm

    Thanks you for creating that it really helped me.

  • ewieen


    July 1, 2015 at 16:20 pm

    thanks you sir, this really help me for akademic study

  • Mark


    May 23, 2015 at 08:49 am

    Does this script have an admin? If so, if using this script along with one of your purchased scripts will it show up under the same log in? Thanks!

    • Sasho Valkanov

      Sasho Valkanov

      May 23, 2015 at 08:52 am

      There is no admin page for this free script. We have a commercial PHP script available at

      Our commercial PHP scripts support "One admiN". You can read more about it here


Add your comment