Simple PHP commenting script

Simple PHP commenting script

Simple PHP commenting script

I had some free time today so I decided to kill it with creating something for new programmers.

I created a simple template by using Bootstrap and use jQuery as a JavaScript library.

We need 3 php files;

  • index.php : where we display our comments on
  • ajax.php : where we get the post of new comments and then insert into the database
  • all.php : where we keep our database connection variables in

index.php

ajax.php


all.php


database.sql


What's next?

  1. Create your MySQL database
  2. Update all.php file and add your MySQL database details
  3. Import database.sql into your database

Demo:
https://www.emrerothzerg.com/demos/simple-php-comment-script/

Download / Github:
https://github.com/emrerothzerg/simple-php-comment-script


Leave a comment if you have any questions :)

Enjoy!



Post your comment

Emre Rothzerg
Emre Rothzerg

Strategist.
SEO Expert.
Software Developer.

Follow me on:
Contact:
[email protected]
Newsletters

Let's create something great together.

Contact me