Re: Text boxes posted to MySQL record that contain quotes
| From: | Burhan Khalid | Date: | Wed, 09 Jul 2003 02:58:24 +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-154476@lists.php.net to get a copy of this message | ||
On Wednesday, July 9, 2003, 5:50:05 AM, Vernon wrote:
V> I know that using stripslashes will remove \ using php but I'm having
V> trouble with posting quotation marks in a text record field. Anyone know how
V> I can get them to post to the database? It's basically like an email and I'd
V> like anything written to be able to post.
Try mysql_escape_string()
--
Regards,
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com