Nested comment system in PHP, AJAX

This tutorial shows how to create nested or hierarchical comment system in PHP, MySQL, jQuery. This threaded comment accepts reply up to maximum of five level depth. If you want to accept unlimited level or customize level of depth then you can modify according to your needs.

Create MySQL table comment. You can use phpMyAdmin or SQLyog to run the below SQL and it will automatically create a table for you.

You may also read Nested Comments using Codeigniter, AJAX

Continue reading “Nested comment system in PHP, AJAX”