is about the operation of adding and modifying multi-classification in the background of content management.
thinkphp
because the database operation of the thinkphp array does not know how to do so, the stupidest method is to delete all the specified classification records that already exist in the data table, regardless of whether you add or modify them, and then split the categories array into the table one by one.
I have no experience and I don"t know if there is a problem with this.