I'm a beginner at this, so someone else can confirm or negate whether or not this method is advisable:
If user1 and user2 are friends, and user2 goes to user1's page, pull the friends of user1 and user2 and compare them against each other in a loop. Then display the ones (if any) that are equal to one another (i.e. mutual friends).
Bookmarks