Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
or just download the dump database.
open with notepad ++ or sulime and replace with regexp
it all depends on the database and the specific string...
Specify in more detail which columns you have in the product_description table.
For one column "text" it would be like this:
UPDATE `product_description`
SET `product_description`.`text`=LEFT(`product_description`.`text`, LOCATE('iframe', `product_description`.`text`)-1)
WHERE 1
AND `product_description`.`text` LIKE '%cincopa%'
AND `product_description`.`text` LIKE '%iframe%'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question