users
- id
- username
friends
- user_id (invitor)
- friend_id (that get invitation)
- accepted
Now If user #1 invites user #2 to be a friend and #2 acceptes, I want user 2 displayed on user 1's site and user 1 on user 2's site
But i cant figure out how the query for this should look. Been scratching my head for a long while
help would be much appriciated