What would be the best way to structure a friend "function".
This is what im thinking:
Lets say I have a usertable with the following columns: user_id, username, password...
and a table by the name of friends with columns: friend1, friend2, accepted.
If user2 adds user1 I want user2 to be shown on user1's profile and user1 on user2's...:O
this seems a little messy...is there a smarter way?