php - Remove a bunch of escaped quotes from MYSQL -


I have a strange - I'm porting some data from one CMS to another. Both runs on LAMP.

In the old CMS, the data was deposited with a slash in DB.

Example:

  Hi. Thanks for looking. It's awful. ".  

It displays correctly as the output of the old CMS:

  Hi, Thanks for looking at this. Awesome ".  

But in the new CMS, they store the same text as the following and work with quotation marks:

  Hi . Thanks for looking. It's astonishing. " 

I have tried to change (directly) on mysql, but it escapes the quote and it only removes all the quotes then I will delete all the data Trying to pull with PHP and put it back, as expected slash data will be saved and I would love it, but not such luck - it seems that working for one of two rows but the query breaks down .

Someone It's been a while since I played with Add / StripSlash etc.

Thanks

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -