Re: textarea and quotes
| From: | John W. Holmes | Date: | Wed, 05 May 2004 14:26:10 +0000 |
| Subject: | Re: textarea and quotes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185426@lists.php.net to get a copy of this message | ||
From: "Vincent DUPONT" <Vincent.dupont@ausy.be>
> I can't remember the name of the function to remove
> the escaping of quotes when submitting a textarea
> example :
> <tr class="content_title">
> becomes :
> <tr class="\"content_title\"">
> stripslashes and stripcslashes seem not to work...
stripslashes() works, just make sure you capture the result.
example:
$newstr = stripslashes($oldstr);
and not:
stripslashes($oldstr);
---John Holmes...