foreach element in the array I want to retrieve the other elements in the array.. basically im building a relationship between them in the database...
so lets say i have a form with a list of usernames.. you can check multiple users and submit to 'form a 'relationship' or 'family' if you will ...
so lets say the form returns an array like so : array(1=>David, 2=>Mike, 3=>Carol)
so for David i want to insert Mike and Carol into his 'family' column in the database...
for Mike i want to insert Carol and David... etc
but i dont want to insert themselves into their own 'family' field...