please investigate the stripslashes() function.
As a note of experience, sounds like you're populating a form with database values. You'll also want to do this: replace double quote characters (") with either " or "". Here's why:
If the value in your database is--
I said, don't you recall, that "You can't come!"
and you populate the form with it, you'll see this in HTML:
<input name=blah value="I said, don't you recall, that "You can't come!"">
But the user will only see this much in the input field:
I said, don't you recall, that
Because HTML thinks the first " is the end.
If however you convert the " to ", the text will actually go to the HTML form element (input) as the original value:
<input name=blah value="I said, don't you recall, that "You can't come!"">
Which will produce:
I said, don't you recall, that "You can't come!"
So remember: PHP will put in the backslashes where necessary to go INTO the database, you need to strip the slashes and replace the quotes coming OUT of the database.