PHP PROJECT

README.md

Comments php class with replies and like buttons

It can display forms and buttons using the Bootstrap framework to let the user enter comments, replies to comments and click to like or dislike a comment.

Files


NameTypeSizeLast Modified
config.php phpfile icon 617 08 December 2015 10:24:30
badwordslist.txt textfile icon 2213 08 December 2015 10:24:30
comment.php phpfile icon 3693 08 December 2015 10:24:30
like-dislike.php phpfile icon 1751 08 December 2015 10:24:30
comment-template.php phpfile icon 1705 08 December 2015 10:24:30
comment.sql sqlfile icon 468 01 February 2017 04:13:02
bootstrapcomment.php phpfile icon 7061 08 December 2015 10:24:30

Source

  1. CREATE TABLE `comment` (
  2.   `id` int(10) NOT NULL,
  3.   `name` varchar(100) NOT NULL,
  4.   `email` varchar(100) NOT NULL,
  5.   `comment` varchar(300) NOT NULL,
  6.   `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  7.   `status` int(1) NOT NULL DEFAULT '1',
  8.   `url` varchar(100) NOT NULL,
  9.   `tm` varchar(20) NOT NULL,
  10.   `ip` varchar(15) NOT NULL,
  11.   `like` int(11) NOT NULL,
  12.   `dislike` int(11) NOT NULL,
  13.   `pid` int(11) NOT NULL
  14. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Demo

You can find a demo available here: bootstrap comment

Requirment

  • mySql
  • PHP >= 5.4
  • Apache Server

Contribute

  • Vishv Sahdev

Example

>>

Download