There is a filter, in it the "Area" field, you need to list all the areas that are in the database, but in such a way that they do not repeat.
For example: we have 5 entries. The first field has “district” - 1, the second has 2, the third has 2, the fourth has 2 and the fifth has 7. The filter should have the following list: District {1,2,7}
I can not understand how not to display duplicate fields. In php beginner, I know few functions, so do not scold.