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.