# Using stripslashes question

**URL:** <https://forum.kirupa.com/t/using-stripslashes-question/140776>\
**Category:** Uncategorized\
**Created:** [March 14, 2005, 12:27pm UTC](https://forum.kirupa.com/t/using-stripslashes-question/140776 "2005-03-14T12:27:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashNewby](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@FlashNewby](https://forum.kirupa.com/u/FlashNewby)\
**Post date:** [March 14, 2005, 12:27pm UTC](https://forum.kirupa.com/t/using-stripslashes-question/140776/1 "2005-03-14T12:27:27Z")

</div>

I have some data in a database that looks like this **“some text”.**  
Now what I do is check to see if magic quotes is turned on, if it is than I know that that piece of text will be escaped before putting into the data base.

When I pull the data back out and use the **stripslashes** (), all I see is a “” but not the data. stripslashes works well with single quoted strings but for some reason I’m having an issue with double quoted strings.

Any ideas?

Thanks
