After replying to the post, ask the user to have a new reply idea and implementation method.

Source: Internet
Author: User
Q: After replying to a post, I will notify the user of a new reply idea and implementation method. after posting, how can I know that there is a new reply in the post? Please give me your thoughts or materials


Reply to discussion (solution)

Do I need to refresh the display in real time?
Real-time ajax persistent connection ~ Just refresh the display and import it to the database.

Created ???? Table, first? Table use? Storage Master ?, That's you? ? Master ?,?? The table must have one? Field,? Save? The id of the latest reply?
Create another? Table ?? Save? Reply? Capacity, id column? ?? Unique Value of increment

?? ? ? First? The latest reply id of the table.

There are two fields in my comment table. one field records "this is a comment on which Post", and the second field records "this is a reply to which Comment"

Store the primary Post ID and the comment ID respectively.

Thank you. I know how to write http://alzhai.com/post-13.html.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.