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:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 11:21 AM To: Jay Blanchard; James E Hicks III; [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php