Jump to content

Recommended Posts

I'm trying to come up with a mysql database design so I can have a messaging system, much like facebook's. I want users to be able to send and reply to messages to more than one user at a time, and to delete whole threads without removing it from other users. Please help!

 

Any questions please ask!

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/256359-messaging-system-like-facebook/
Share on other sites

users

-user_id

-name

-pass

-etc

 

 

message_thread

-message_thread_id

-subject

 

 

messages

-message_id

-message_thread_id

-message

-date_posted

 

 

message_thread_subscribers

-message_thread_id

-user_id

 

 

status_updates

-user_id

-status_url

-viewed

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.