please help me , how ?

Discussion in 'PHP' started by page22, Mar 1, 2009.

  1. #1
    hi,all

    i'm sorry i dont englesh good :D:D oky no problem

    i have 2 table in database oky

    1 user for save info users like id_user and name_user and mail_user and password_user .... oky!

    table 2 for message

    for save message the friend
    1 id_message 2 the_message 3 message_from 4 message_to oky ?

    i need in php pages, select for everybody message for user dealing with id the user and id_user no here my problem

    my problem how select to everybody form who the message and the message in one time ? in one query from php ?

    please ? how

    i'm sorry i dont english language good
     
    page22, Mar 1, 2009 IP
  2. page22

    page22 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    oh my god 15 view and no comment !!!!!

    please where friend
     
    page22, Mar 1, 2009 IP
  3. syntax24

    syntax24 Banned

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So you have two Database tables... for example Users and Messages... and you want to do something with selecting the users that are addressed in a message or something?

    Try and explain again if you can, I'll try and help. I'm getting out of this that you have a message, maybe like:

    MID Subject Message To From
    1 subject text here 3,4,64 1

    and you want to select all of the members in the "to" part of the message... ??
     
    syntax24, Mar 1, 2009 IP
  4. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    #4
    You mean, (with user[user_id]), you want to get all messages/users sent to/received from everybody???
     
    gapz101, Mar 1, 2009 IP
  5. syntax24

    syntax24 Banned

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you still want our help, you need to reply or PM one of us or this thread is going to end up dying
     
    syntax24, Mar 2, 2009 IP