How to make an add friend/defriend function in PHP?

Posted by user300371 on Stack Overflow See other posts from Stack Overflow or by user300371
Published on 2010-03-30T03:59:53Z Indexed on 2010/03/30 4:03 UTC
Read the original article Hit count: 249

Filed under:
|

I have created a site where people can create a profile. But I am trying to figure out how to start on making an add friend button so users can have friends.

In my user table, i have user_id, first_name, last_name, email, etc.

Should I somehow relate the user_id of the user and the friend in a friend table?

I am a novice to programming, so these things are still new to me. Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql