This was my final project for my PHP class. I had to create a website that interacts with a database allowing users to register, leave comments, and view comments. I also had to write my own cookie for this project to allow users to save their login information if they chose to. I used a lot of JQuery and AJAX code to allow the user to leave comments and view comments all on the same page. The user can also choose if they would like to allow other users to leave comments on their comment. The sub comments would appear under the original comment when someone views it. If a user is viewing their own comments they also have the option to delete and edit their comments. If the user chooses to edit a comment the text area becomes editable and they can change whatever they want and save it again. If the user deletes the comment it will be removed from the database and they will receive a message telling them it has been deleted successfully.