Question, how to make a 'add as friend script'

Discussion in 'PHP' started by Funk-woo10, Nov 13, 2007.

  1. #1
    Hi all,

    I want the members on my site to be able to add each other as friends.

    How could I include this in my sql database in the members table ?

    Thanks.
     
    Funk-woo10, Nov 13, 2007 IP
  2. tonybogs

    tonybogs Peon

    Messages:
    462
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You wont be able to do this in the members table.

    You'll have to create a new table.. Call it friends with the links between people.
     
    tonybogs, Nov 13, 2007 IP
  3. Funk-woo10

    Funk-woo10 Peon

    Messages:
    1,108
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So When 1 ueser ads another it links their profile ?

    What is the best way to do this ?
     
    Funk-woo10, Nov 13, 2007 IP
  4. donthate

    donthate Banned

    Messages:
    922
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I've done this before, PM me if your looking for a coder to do so :)
     
    donthate, Nov 13, 2007 IP