PHP "You have () new comments on your clip", how?

Posted by user292516 on Stack Overflow See other posts from Stack Overflow or by user292516
Published on 2010-03-12T17:13:25Z Indexed on 2010/03/12 17:17 UTC
Read the original article Hit count: 98

Filed under:

Hello. I want to do a function to my users, so on index.php there is e.g:

You have 2 new comments on your clip

How should i do this? I mean i want ideas to do this the easiest way. Table for the videos is member_videos, and tables for the comment is member_videocomments, a comment inside the table is connected by their "videoID", which is the id of the column in member_videos.

Should i do the classic, making a field, which all is 0, until it has been seen by the user its 1 or what should i do.

© Stack Overflow or respective owner

Related posts about php