October 21, 2013 10:50 am

How to create a comment system with jQuery

Comments is very useful for your website where users can give there feedback suggestion and discuss problems with us so for that i have decided that to create a comments system in jQuery where page cannot reload but your comment posted.


Database Details:

database name => phpgang
table name => status,comments


Database file run in your mysql to create database and add data in table.


Database configuration file edit database name, user and password as per your configuration.


jQuery required to comment:

CSS show nicely managed text and comments:

Feel free to comment and share your experience we love to answer your questions.

Author Huzoor Bux

I am Huzoor Bux from Karachi (Pakistan). I have been working as a PHP Developer from last 5+ years, and its my passion to learn new things and implement them as a practice. Basically I am a PHP developer but now days exploring more in HTML5, CSS and jQuery libraries.

Tutorial Categories:
  • Boomsalakalaka

    wth i cannot download it says i am not subscribed.. but i am alread subscribed… the one with hotmail email

  • Md Asif

    I’ve subscribed. But when I download it shows me

    Download script for Subscribed users only!

    • huzoorbux

      Subscriber list updated please try now.

  • Shahbaz Ahmed Bhatti

    GOOOOOOOOOOOOOOOD LOVE This Tutorial without Submit Button We can Post like Facebook Comments

    The Message Field SHould be increase when comment text increase

    • fagad


    • fagad


  • mob


  • sdfsdf


  • Zai Blitz

    not live to other user though. comments only live in user browser.

  • Test


  • rashida

    how to add email and name field along with comments. just like one which is used here

  • fgfg


  • jitendra sen

    how to convert english static website into fully hindi language ?

  • Max John

    This article has made me like phpgang

  • Alex Gole

    Instead of displaying the db data slide by slide in one div. Is it possible to to fetch the data and display several slides at once?

    • adsf


      • asdfasdfsf


    • adsf


      • faf


        • adsfsdfs


  • Mayowa Abbey

    hi! i wish you could explain the jquery area… i wanna understand… Could you?

  • Humphrey Pietersen

    Two thumbs

    • rida

      me too

  • good one

  • good one

  • good one

  • Max John

    This really is very useful. Thank you very much

  • asep wahyudi


  • nyamnyamh

    its not working, just display error 500

    • jack

      be clear

  • kaed

    hola probandp