Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder Cipher's Avatar
    Join Date
    Dec 2004
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Private Messages

    i'm trying to make private messages like the one in this site, i didnt start programming yet, the problem is in the DB schema, i think the problem that the UserID is related in two Tables, so to know the sender and reciever, thanx 4 help
    Attached Thumbnails Attached Thumbnails Private Messages-messagesdb.jpg  

  • #2
    Regular Coder Cipher's Avatar
    Join Date
    Dec 2004
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts
    SO, no body can help me?!
    Last edited by Cipher; 10-04-2005 at 01:37 PM.

  • #3
    New to the CF scene
    Join Date
    Sep 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why do you have the user id in the message table?

  • #4
    New Coder
    Join Date
    Aug 2005
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts
    maybe you need to rename the other one so you wouldnt be confused with the sender and the receiver.

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    why split the messagedetails from the message itself
    I am the luckiest man in the world

  • #6
    Regular Coder Cipher's Avatar
    Join Date
    Dec 2004
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank u guys, i made it only one table and its working fine now


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •