Re: Text boxes posted to MySQL record that contain quotes
| From: | John W. Holmes | Date: | Wed, 09 Jul 2003 10:48:49 +0000 |
| Subject: | Re: Text boxes posted to MySQL record that contain quotes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154517@lists.php.net to get a copy of this message | ||
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