# How do I write php code to deal with double quoted text from MySQL DB

**URL:** <https://forum.kirupa.com/t/how-do-i-write-php-code-to-deal-with-double-quoted-text-from-mysql-db/140908>\
**Category:** Uncategorized\
**Created:** [March 15, 2005, 10:16am UTC](https://forum.kirupa.com/t/how-do-i-write-php-code-to-deal-with-double-quoted-text-from-mysql-db/140908 "2005-03-15T10:16:47Z")\
**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 15, 2005, 10:16am UTC](https://forum.kirupa.com/t/how-do-i-write-php-code-to-deal-with-double-quoted-text-from-mysql-db/140908/1 "2005-03-15T10:16:47Z")

</div>

I’m pulling double quoted text from the database that is also escaped in the database. When I try to use stripslashes to remove the slashes, the data does not get displayed in the browser.

The funny thing is is that I can “echo” the variable and it has the value with double quotes on both ends :puzzled:.

Why does the double quoted text not getting displayed in the browser?

Thanks
