Re: Apropo of RTFM discussion, a problem with text from a form and quotes
| From: | Chris Cosentino | Date: | Thu, 27 Jul 2000 17:32:42 +0000 |
| Subject: | Re: Apropo of RTFM discussion, a problem with text from a form and quotes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8604@lists.php.net to get a copy of this message | ||
// Use the stripslashes function
stripslashes($YOUR_TEXT_VARIABLE);
-Chris
At 12:22 PM 07/27/2000 -0500, David VanHorn wrote:
Ok, so I hit this snag, and it's probably trivial, but I can't even begin to formulate a query to search on it.. I have a block of text from a form, in a variable. If the original text had double quotes (") then the text in the block has (\"). I know this is from the process of being entered from a form, but once in PHP, how do I convert it back?-- Chris Cosentino ccosenti@cisco.com