V
V
vector20142021-05-10 13:43:51
MySQL
vector2014, 2021-05-10 13:43:51

Why doesn't adding categories via sql work in DLE?

When I make an sql-query to add categories to the news, the categories are added to the news, but the news itself is not displayed in these categories. The news will be displayed only if you delete the categories in the news through the admin panel and add them again. What could be the problem ?

SQL query example: UPDATE `dle_post` SET `category` = '35,108,111,117,39' WHERE `dle_post`.`id` = 7433;

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question