Empire cms uses sql to replace content field values in batches
UPDATE phome_ecms_news_data_1 SET newstext=REPLACE(newstext,'原来','现在')Description:phome_ecms_news_data_1is the data table name, which can be changed to any data table name.newstextFields for batch replacement.
to add restrictions to batch replacement, such as: only replace the text with column ID 1newstext. Can be modified to:
update phome_ecms_news_data_1 set newstext=replace(newstext,'原来','现在') where classid = 1;Execute SQL statement location: System>Backup and restore data>Execute SQL statement