showing network of friends

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bishwadeep
    New Member
    • Nov 2006
    • 12

    showing network of friends

    Hi
    I am making a site which is specially for making friends(php/mysql).
    I got a problem and the problem is:

    if a new friend is added by me, I want to count the people under his network (i.e. his friends)

    I am stuck here. I have no idea on how to design the database for it.

    so any help would be great,

    thanks
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Originally posted by bishwadeep
    Hi
    I am making a site which is specially for making friends(php/mysql).
    I got a problem and the problem is:

    if a new friend is added by me, I want to count the people under his network (i.e. his friends)

    I am stuck here. I have no idea on how to design the database for it.

    so any help would be great,

    thanks
    A bit shallow, your information. You need to give some more in order for any members to give some advice that makes sense.

    You must have envisaged some structure before you started. So what is it?
    Do you have one table with all friends, and another table with networks? And what is the relation between friends, networks, networks of friends and friends of friends?

    Elaborate a bit more on your ideas in this.

    Ronald :cool:

    Comment

    Working...