In following sql query I get an error on replace row. What is wrong I do not get. Probably phpmyadmin does not work with ' single code. I also try ` does not work eather.
Does someone has a solution for this?
UPDATE `wp_postsbck`
SET `post_content` = REPLACE(
'<p style="font-size: 17px; line-height: 27px; margin-top: 10px;">',
'<p>')
WHERE
`guid` = 'http://xxxx/?page_id=329'
Tryed this also:
UPDATE `wp_postsbck`
SET `post_content` = REPLACE(
'<p style=\"font-size: 17px; line-height: 27px; margin-top: 10px;\">',
'<p>')
WHERE
`guid` = 'http://xxxx/?page_id=329'
Thanks
Oeps... I forgot a part! Sorry first part (field) not written.
REPLACEtakes three arguments. You have only supplied two. See the MySQL reference hereSET post_content = REPLACE(post_content, '<p style="font-size: 17px; line-height: 27px; margin-top: 10px;">', '<p>')