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! Quote Link to comment 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 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.