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
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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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