quotes in text strings
| From: | Javier Montserat | Date: | Wed, 02 Oct 2002 10:50:40 +0000 |
| Subject: | quotes in text strings | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-118573@lists.php.net to get a copy of this message | ||
Hi
Single quote's in strings entered via a text input field are subsequently appearing with what appears to be an escape character -
comm\'ents
how can i correct this? I've tried
htmlspecialchars($string, ENT_QUOTES);
and
htmlentities($string, ENT_QUOTES);
but these don't seem to work (maybe its me).
Thanks
Javier
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com