rockinaway Posted June 30, 2007 Share Posted June 30, 2007 I need to create an unread posts modification, and well I am not sure how to handle the unread posts. Should I store a cookie with an array (if possible), with the array containing all the post ids? Or is there another way? Quote Link to comment Share on other sites More sharing options...
rcorlew Posted June 30, 2007 Share Posted June 30, 2007 I would insert a column into your messages table that is simply named read set to default 0 and then when you read it update it to 1. Simple enough, I use that scheme all the time on my sites. Quote Link to comment Share on other sites More sharing options...
rockinaway Posted June 30, 2007 Author Share Posted June 30, 2007 But what about for several users, how would I handle it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.