phpwind 批量更换URL
比如你要将表 tb1里面的f1字段的abc替换为def
UPDATE tb1 SET f1=REPLACE(f1, ‘abc’, ‘def’);
又如:
UPDATE pw_tmsgs SET content=REPLACE(content,’www.stuhack.com’,'bbs.stuhack.com’) where ….
UPDATE pw_tmsgs SET content=REPLACE(content,’www.stuhack.com’,'bbs.stuhack.com’) where ….
