![]() Now let's start coding.Ĭreate a project folder called comment-reply-system. ![]() Once logged in, they can post their comment, which will be submitted to the server and saved to the database under that particular post and update the page without reloading it we will be using JQuery and Ajax to make sure a comment is posted without need to refresh the whole page. If a user visits the site and is not yet logged in, instead of a comment form, we display a link and ask them to login before posting a comment. Only logged in users are allowed to post a comment on a blog post. Then our application will query this info from the database and display on the webpage. In this project, we use MySQL database to stores all users, posts, comments, and replies and the relationship that exists among them. Our goal today is to create such a system. A system that allows users to comment on your blog post and get replies from other users can increase your website's interractivity and user detention.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |