If I retrieve a document from my database and assign it to $test, such as
I am unable to reinsert it into the database. An error pops up. This is due to the fact that the quotes that were stored in the database can't be reinserted into the database without escaping the quotes so that it looks like:
Now it is correct, however now I have slashes in my database field where previously there weren't any.
How can I reinsert the data into my database without the slashes?