여러 게시물에서 html 코드를 교체해야합니다.MySQL에서 HTML 행을 어떻게 바꿀 수 있습니까?
UPDATE wp_posts SET post_content = REPLACE(post_content, 'target="_top" class="text"') WHERE 'post_content' = 'class="text"'
하지만 오류가 점점 오전 :
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') WHERE 'post_content' = 'class="text"'' at line 1
가 제대로 작동하도록 모든 솔루션이 있습니까 이것은 내가 사용하고있는 코드?
어떻게 SQL을 실행합니까? –