Jump to content


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


Trouble with messaging system

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..

Share this post

Link to post
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

Share this post

Link to post
Share on other sites


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.