Good day!
I won’t figure out how to most effectively implement the conclusion.
There is a table with categories, there is a table with documents (each document has a category id).
It is necessary to display the following way:
Category 1:
- A document with an id of this category.
- Document 2, which has an id of this category.
- ....
Category 2:
- A document with an id of this category.
- Document 2, which has an id of this category.
- ....
How to implement this?