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? Link to comment https://forums.phpfreaks.com/topic/57875-unread-posts/ 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. Link to comment https://forums.phpfreaks.com/topic/57875-unread-posts/#findComment-286794 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? Link to comment https://forums.phpfreaks.com/topic/57875-unread-posts/#findComment-286795 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.