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/
-
Create a database on your server and give it any name, for this demonstration I will name my database 'comment'.
-
In your database import the 'comments.sql' file to create the table to save comments.
-
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.
-
-
Ensure that every file is routed in any pattern of your choice.
-
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
**/