Hello Arne, thanks for your answer! How should the function to get all last names with the first character = A or B or C look like? I'm quite new at php, so the function name would already help a lot! thanks georg