My last code post did not work, I see what you are saying that wrapping my page in the while loop is the first step, I wonder what I need to change to display the results from this point, because now no specialties are displaying even for the doctors that have multiple relationships.