Re: single quotes in database
| From: | Burhan Khalid | Date: | Fri, 07 Nov 2003 19:06:07 +0000 |
| Subject: | Re: single quotes in database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168884@lists.php.net to get a copy of this message | ||
Steve Buehler wrote:
I am using PHP/MySQL and am having a problem. We have some names and addresses in the database that have single quotes in them.[snipped] mysql_escape_string() stripslashes() addslashes() -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing."