Hi, Just store the user's last log-in date/time either in the database or in cookie. On the next log-in "select * messages where creationDate > $userLastLoginDate" and highlight those selected. It won't work for every particular unread message, but I doubt if one needs to be that much specific.
HTH, Stas ----- Original Message ----- From: "Charlotte" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 26, 2002 1:04 PM Subject: [PHP] check unread messages in a forum > I have made a forum in PHP, and the users are logged in using cookies. I > want all new threads (and if there are new replies in an old thread) to be > highlight or something like that. > > How do I check if a user has read a message or not? > > > > /Charlotte > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php