Possible Duplicate:
Why are escape characters being added to the value of the hidden input
I am querying user posts from a table in my database. When I output them and if they contain an apostrophe, a backslash is inserted before the apostrophe.
Why is it doing this? What can I do to fix this problem?
Example:
I'm hiking in Colorado's Mountains.
I\'m hiking in Colorado\'s Mountains.