Source code: https://goo.gl/SznxZo
Part 2: https://www.youtube.com/watch?v=MNmXNiBy1_g
In this tutorial, we create a basic commenting system consisting of a form with two input fields: name and comment. A user can add a comment on the page without the page reloading (using Ajax) and this comment is stored in the comments table in the database.
All comments in the database are displayed on the page and the user can delete a comment by simply hovering over it and clicking on the ‘x’ button…