写法1: $fr=$empire->fetch1('select infotags from {$dbtbpre}ecms_news_data_{$r[stb]} where id='$r[id]''); $infotags=$fr['infotags']; $r_tag=explode(',',$infotags); $tagstr=dp_In...
update wp_posts SET post_content = REPLACE (post_content, '软件Word', 'Word软件') where id BETWEEN 9425 AND 27895 替换wp_posts表中ID为9425到27895之间的信息 post_content的字段值中 ...
第一段:删除分类下的文章数量。 delete from wp_posts using wp_posts, wp_term_relationships, wp_term_taxonomy where wp_posts.id=wp_term_relationships.object_id and wp_term_relationsh...