
Originally Posted by
IBazz
That *might* work but then, it would be different from how you described in your first post.
person 1 signs up.
person 2 signs up.
person 1 sends request to be 'friend' (That request should include person 1's membership_id)
person 2 says yep and when they UPDATE their record, they would insert the person 1 id into the appropriate column of person 2's record.
However, what if you want people to have more than one friend? Should you then have a table for friends like this
membership_id | friends_id | friend_type |
Not telling you this is the best way but, that would let you have numerous friends related to a member and clarification of their friendship status where you can allow differing 'rights'
thinking on the hoof but hopefully giving food for thought. dunno how myFace would do it.
bazz
Bookmarks