Jump to content

Trouble with messaging system


POGRAN

Recommended Posts

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

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 messages
delete << delete messages
send <<send messages
block << if spam block user via id
report << if continue spam report message to admin

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.