My site is a photoviewer site. People upload pics with all kinds of info (shutter/description/fstop/etc..) then the site creates folders and sets up preview pages for the pics. Another feature of the site im working on is a friends/buddy list. So you as the user can add people in your list then when you come back just pull up what friends are in your list then select whose photos you want to view.
My question is (using PHP/MySQL) what would be the best way to store the "friends" list in the database?...I was thinking one field in the users table called friends and then enter users like this: username1 | username2 | username3 | username4 .....using the "|" as a spearator for the usernames. Is this the best way to do this or is there an easier way im just not seeing yet?
Chad.