Determining unread items in a forum

后端 未结 7 1549
执念已碎
执念已碎 2020-12-30 17:07

Using PHP and MySQL, I have a forum system I\'m trying to build. What I want to know is, how can I set it so that when a user reads a forum entry, it shows as read JUST for

7条回答
  •  时光取名叫无心
    2020-12-30 17:30

    You could just use the functionality of the user's browser and append the last postid in the link to the thread like this: "thread.php?id=12&lastpost=122"

    By making use of a:visited in your CSS, you can display the posts that the user already read different from those that he did not read.

提交回复
热议问题