There are three database tables for which you need to create a filter.
- table
tag (id_tag, tag)which has all the tags together (in a heap)
tag_post (id_t_p, id_tag, id_post, num_tag_inpost)
post (id_post, post)
Example: if you want to remove one product from these tables, you need to take from the table tag_post c 1 to 8 for example, for id_post post 5, remove all id_tag id_tag and remove the tag from the tag table on these id tags then you get one item of type 1) артикул 2) Вид изделия 3)Материал 4) Основная вставка 5) Производитель is important to us only ID up to 5
I make a filter on php. And I find it very difficult to compile a SQL query ( A similar question in which I wanted to remove the goods from the database. Then I decided to add the numbering from 1 to the number of repeated digits in the database so that the query was simple. 


