POGRAN Posted September 19, 2006 Share Posted September 19, 2006 hi there!I am writing a messenger system. I need to highlight messages that are not "opened" by current user that is logged in!I tried to do many thicks with mysql tables (to change status of message between 0 and 1 depending on if it is read or not..) but still didn't find good choice and would be nice to hear some ideas from other people..Thanks! Link to comment https://forums.phpfreaks.com/topic/21230-trouble-with-messaging-system/ Share on other sites More sharing options...
redarrow Posted September 19, 2006 Share Posted September 19, 2006 when a user reads the message you place a 1 in a coulm and if the user has not read the message then you select the database and do a while loop if the colum is o then print message.i am just going to write one you should add these options ok.read <<read messagesdelete << delete messagessend <<send messagesblock << if spam block user via idreport << if continue spam report message to admin Link to comment https://forums.phpfreaks.com/topic/21230-trouble-with-messaging-system/#findComment-94421 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.