如何将注释设置为多个用户的未读/读取

i have a development blog in my project.i want add facility of set comment as unread for user until he/she see the comment. suppose admin post a comment so for all users in that project should get that comment as unread

can anyone help

should i use $_SESSION or i have to use database tables?

You should use Database. Create 3 tables at least: user, comment, userReadComment since user read comment is a multi-to-multi relationship.

This calls for a proper design of the project.

What do you mean by :

i want it in php code...can any one help....i m totally stuck

?

You have to use Database only. It is as simple as this, once you have the comment table where you refer its ID and along with that you do user ID... if it is present, its read else, it isn't!

Or

You can set an enum of read or unread.

Can you show what have you done so far?