lol why didnt i think of this , i have done this before for hidden form fields when creating a preview page :\ , i guess i have to reconvert if it reposts so it doesnt screw up the sql
-----Original Message----- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 8:49 PM To: Vernon Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Text boxes posted to MySQL record that contain quotes Vernon wrote: > I know that using stripslashes will remove \ using php but I'm having > trouble with posting quotation marks in a text record field. Anyone know how > I can get them to post to the database? It's basically like an email and I'd > like anything written to be able to post. Use htmlentities() to convert quotes to HTML entities. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professionals – www.phparch.com -- 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