Hi all im in a sorta dilema more or less.
Basically i have tried a few different things on how to make a relationship between users and their friends ...
Basically i got tables like sooo..
Users Table
UserID - UsersName - FriendsID
1 John ?
2 Ben ?
3 Tom ?
Friends table
Friends ID UserID Status
1 ? Accepted
2 ? Rejected
3 ? Pending
so whot im trying to do is to find a way to allow this people to be friends whith one another and when they other user accepts the friendship request they are friends....
for example john sends a request to be friends with ben and ben accepts they are now friends...
if you dont understand please ask thank you....