RE: [PHP] <input type="text" value="He said, "How do I get this t o work?", with a frown" size="50">
| From: | Vail, Warren | Date: | Tue, 16 Mar 2004 19:33:55 +0000 |
| Subject: | RE: [PHP] <input type="text" value="He said, "How do I get this t o work?", with a frown" size="50"> | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180592@lists.php.net to get a copy of this message | ||
how about
http://www.php.net/manual/en/function.htmlspecialchars.php
not quite as stringent as
http://www.php.net/manual/en/function.htmlentities.php
Warren Vail
-----Original Message-----
From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com]
Sent: Tuesday, March 16, 2004 11:21 AM
To: Jay Blanchard; James E Hicks III; php-general@lists.php.net
Subject: RE: [PHP] <input type="text" value="He said, "How do I get this
to work?", with a frown" size="50">
[snip]
Escape the quotes.
[/snip]
How about addslashes() and stripslashes() ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php