Skip to content

This snippet is used to add comments to a page. It uses an asynchronous pattern and auto-update.

Notifications You must be signed in to change notification settings

talibackend/Page-Comment-Adder

Repository files navigation

Page-Comment-Adder

This snippet is used to add comments to a page. It uses an asynchronous pattern and auto-updates.

/This file contains all the procedure for using this code/

  1. Create a database on your server and give it any name, for this demonstration I will name my database 'comment'.

  2. In your database import the 'comments.sql' file to create the table to save comments.

  3. Edit your config.php file as follows :

    • The server variable contains the server for your database, 'localhost' is applicable in most cases.

    • The user variable contains your database username, make sure that the user you are using has priviledge to insert and select.

    • The pass variable contains the password for your database user.

    • The database variable is the name of the database that contains the comments table, in my case comment is the name of the database we are going to use.

  4. Ensure that every file is routed in any pattern of your choice.

  5. Include the "commenter.php" file in any part of the page that you want to use it.

/** If you experience any kind of problem while trying to install the code, please contact me and i promise to help you fix it immediately.

Contact:
E-mail : fatokunfemi03@gmail.com
Phone : +234 9047238648
Whatsapp : +234 9047238648
Twitter : @FemiFatokun3
Facebook : www.facebook.com/femi.fatokun.165
Github : www.github.com/FemiFatokun03

**/

Demo : www.comment.curiousnews.com.ng/index.php

About

This snippet is used to add comments to a page. It uses an asynchronous pattern and auto-update.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published